Additional visibility conditions on med badges
This commit is contained in:
@ -3752,6 +3752,9 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_morning_meds_taken
|
entity: input_boolean.tony_morning_meds_taken
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.tony_awake
|
||||||
|
state: 'on'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: |-
|
content: |-
|
||||||
{% from 'time.jinja' import input_datetime_read %}
|
{% from 'time.jinja' import input_datetime_read %}
|
||||||
@ -3774,6 +3777,9 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_afternoon_meds_taken
|
entity: input_boolean.tony_afternoon_meds_taken
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.tony_awake
|
||||||
|
state: 'on'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: |-
|
content: |-
|
||||||
{% from 'time.jinja' import input_datetime_read %}
|
{% from 'time.jinja' import input_datetime_read %}
|
||||||
@ -3863,6 +3869,9 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.kallen_morning_meds_taken
|
entity: input_boolean.kallen_morning_meds_taken
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.kallen_sleeping
|
||||||
|
state: 'off'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: |-
|
content: |-
|
||||||
{% from 'time.jinja' import input_datetime_read %}
|
{% from 'time.jinja' import input_datetime_read %}
|
||||||
@ -3886,6 +3895,9 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.kallen_night_meds_taken
|
entity: input_boolean.kallen_night_meds_taken
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.kallen_sleeping
|
||||||
|
state: 'on'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: |-
|
content: |-
|
||||||
{% from 'time.jinja' import input_datetime_read %}
|
{% from 'time.jinja' import input_datetime_read %}
|
||||||
|
Reference in New Issue
Block a user