mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Improved Purifier UI and automation
This commit is contained in:
@@ -68,6 +68,29 @@
|
||||
state_indicator_off_size: 0px
|
||||
state_indicator_on_color: var(--color-red)
|
||||
state_on_indicator_on_color: var(--color-red)
|
||||
- type: custom:button-card
|
||||
template:
|
||||
- small
|
||||
- progress
|
||||
- with_state_indicator
|
||||
entity: sensor.purifier_target_humidity
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.purifier_target_humidity
|
||||
show_state: true
|
||||
show_icon: false
|
||||
variables:
|
||||
min_value: 30
|
||||
max_value: 60
|
||||
normal_value: 61
|
||||
high_value: 70
|
||||
state_indicator_id: binary_sensor.purifier_out_of_water
|
||||
state_indicator_size: 5px
|
||||
state_indicator_off_size: 0px
|
||||
state_indicator_on_color: var(--color-red)
|
||||
state_on_indicator_on_color: var(--color-red)
|
||||
- type: custom:button-card
|
||||
template: default
|
||||
entity: binary_sensor.house_mode
|
||||
@@ -135,6 +158,7 @@
|
||||
max_value: 90
|
||||
normal_value: 10
|
||||
high_value: 30
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
|
||||
Reference in New Issue
Block a user