mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
stop hating myself
This commit is contained in:
+16
-10
@@ -565,24 +565,30 @@ badges:
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.dishwasher
|
||||
state_not: "idle"
|
||||
- entity: input_select.dishwasher_fun_status
|
||||
state_not: "Hungry for more"
|
||||
chip:
|
||||
type: template
|
||||
entity: input_boolean.empty_dishwasher
|
||||
entity: input_select.dishwasher_fun_status
|
||||
icon: >
|
||||
{% if is_state('sensor.dishwasher','running')-%}
|
||||
{% if is_state('input_select.dishwasher_fun_status','Scrubbing')-%}
|
||||
mdi:dishwasher
|
||||
{% elif is_state('sensor.dishwasher','pending')-%}
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Water spots and mildew!')-%}
|
||||
mdi:dishwasher-alert
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Trouble')-%}
|
||||
mdi:alert
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Hungry for more')-%}
|
||||
mdi:dishwasher-off
|
||||
{%- endif %}
|
||||
icon_color: >
|
||||
{% if is_state('sensor.dishwasher','running')-%}
|
||||
amber
|
||||
{% elif is_state('sensor.dishwasher','pending')-%}
|
||||
blue
|
||||
{% else -%}
|
||||
{% if is_state('input_select.dishwasher_fun_status','Scrubbing')-%}
|
||||
green
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Water spots and mildew!')-%}
|
||||
orange
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Trouble')-%}
|
||||
red
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Hungry for more')-%}
|
||||
disabled
|
||||
{%- endif %}
|
||||
tap_action:
|
||||
action: navigate
|
||||
|
||||
Reference in New Issue
Block a user