tilpasset
This commit is contained in:
@@ -7,10 +7,6 @@
|
||||
entity_id: binary_sensor.family_presence
|
||||
to: "off"
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ trigger.from_state.state != 'unavailable' }}"
|
||||
|
||||
action:
|
||||
- service: input_datetime.set_datetime
|
||||
target:
|
||||
@@ -57,10 +53,10 @@
|
||||
value_template: >
|
||||
{{ states('vacuum.roborock_s8_pro_ultra') in ['docked','idle','charging'] }}
|
||||
|
||||
- condition: numeric_state
|
||||
entity_id: vacuum.roborock_s8_pro_ultra
|
||||
attribute: battery_level
|
||||
above: 20
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% set b = state_attr('vacuum.roborock_s8_pro_ultra','battery_level') %}
|
||||
{{ b is number and b > 20 }}
|
||||
|
||||
action:
|
||||
- variables:
|
||||
|
||||
Reference in New Issue
Block a user