Zendio
(Zendio)
November 21, 2017, 7:05am
1
Hey there,
I’ve been using Hassbian for a while and made all kinds of automations for it. I switched over to hass.io and copied my configuration. Some of the automations suddenly don’t work anymore and I cannot find out why. The configuration validator shows no errors. What can I do to find out why it doesn’t work anymore? YAML parsers also show no errors.
Thanks for your time.
Are the automations switched on?
Zendio
(Zendio)
November 21, 2017, 7:08am
3
They are, I’ve checked. It seems to be automations based around using templates.
Can you post the ones that aren’t working?
Zendio
(Zendio)
November 21, 2017, 7:28am
5
- id: zonechange
alias: Zone Change
hide_entity: false
trigger:
- platform: state
entity_id:
- device_tracker.randomname1
- device_tracker.randomname2
- device_tracker.randomname3
condition:
condition: template
value_template: '{{ trigger.from_state.state != trigger.to_state.state }}'
action:
- service: notify.pushbullet
data_template:
message: 'Update from {{ trigger.to_state.attributes.friendly_name }}: {{ trigger.from_state.state
}} to {{ trigger.to_state.state }}'
and
- id: steam
alias: Steam
hide_entity: false
trigger:
- platform: state
entity_id:
- sensor.x_game
- sensor.a_game
- sensor.b_game
- sensor.d_game
from: None
condition:
condition: template
value_template: '{{ trigger.to_state.state != ''Unknown'' }}'
action:
- service: notify.pushbullet
data_template:
message: '{{ trigger.to_state.attributes.friendly_name }} is playing {{ trigger.to_state.state }}.'
sjee
November 21, 2017, 7:36am
6
Did you check if pushbullet is working?
j.assuncao
(Jorge Assunção)
November 21, 2017, 7:48am
7
Did you confirm that all entities appear on developer tools states?