mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-21 04:33:38 +00:00
Make some custom Modifications for better handling.
This commit is contained in:
@@ -31,15 +31,7 @@ automation:
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.bear_stone
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{% if not is_state('sensor.bear_stone', '0/10') %}
|
||||
false
|
||||
{% else %}
|
||||
true
|
||||
{% endif %}
|
||||
to: '1/10'
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
|
Reference in New Issue
Block a user