mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
everything's gotta change
This commit is contained in:
+11
-11
@@ -565,29 +565,29 @@ badges:
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: input_select.dishwasher_fun_status
|
||||
state_not: "Hungry for more"
|
||||
- entity: sensor.dishwasher
|
||||
state_not: "Idle"
|
||||
chip:
|
||||
type: template
|
||||
entity: input_select.dishwasher_fun_status
|
||||
entity: sensor.dishwasher
|
||||
icon: >
|
||||
{% if is_state('input_select.dishwasher_fun_status','Scrubbing')-%}
|
||||
{% if is_state('sensor.dishwasher','Running')-%}
|
||||
mdi:dishwasher
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Water spots and mildew!')-%}
|
||||
{% elif is_state('sensor.dishwasher','Pending')-%}
|
||||
mdi:dishwasher-alert
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Trouble')-%}
|
||||
{% elif is_state('sensor.dishwasher','Problem')-%}
|
||||
mdi:alert
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Hungry for more')-%}
|
||||
{% elif is_state('sensor.dishwasher','Idle')-%}
|
||||
mdi:dishwasher-off
|
||||
{%- endif %}
|
||||
icon_color: >
|
||||
{% if is_state('input_select.dishwasher_fun_status','Scrubbing')-%}
|
||||
{% if is_state('sensor.dishwasher','Running')-%}
|
||||
green
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Water spots and mildew!')-%}
|
||||
{% elif is_state('sensor.dishwasher','Pending')-%}
|
||||
orange
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Trouble')-%}
|
||||
{% elif is_state('sensor.dishwasher','Problem')-%}
|
||||
red
|
||||
{% elif is_state('input_select.dishwasher_fun_status','Hungry for more')-%}
|
||||
{% elif is_state('sensor.dishwasher','Idle')-%}
|
||||
disabled
|
||||
{%- endif %}
|
||||
tap_action:
|
||||
|
||||
Reference in New Issue
Block a user