Make some custom Modifications for better handling.

This commit is contained in:
ccostan
2018-02-01 15:54:03 -05:00
parent 8442b1a384
commit 69744121e3
2 changed files with 6 additions and 14 deletions

View File

@@ -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