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