core icon indicating copy to clipboard operation
core copied to clipboard

v0.50: automations stopped working " 'state' invalid option for 'automation' "

Open Regularj opened this issue 9 years ago • 3 comments

Home Assistant release (hass --version): 0.50.0.dev0

Python release (python3 --version): Python 3.4.2

Component/platform: automations

Description of problem: all automations stopped working due to the following error: 2017-07-23 23:04:46 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. Expected: Working automations

Problem-relevant configuration.yaml entries and steps to reproduce:

All automations with a "state" as trigger. Worked until v0.49 (stable).

additional info: Nothing has been changed in the automations.yaml. Has the syntax changed from 0.49 -> 0.50 and I just didn't got it?

Regularj avatar Jul 23 '17 21:07 Regularj

State was deprecated awhile back and just removed in 0.50 I believe. All triggers need to change from state: to to:

w1ll1am23 avatar Jul 23 '17 21:07 w1ll1am23

Thank you, this helped!

Regularj avatar Jul 24 '17 07:07 Regularj

[solved]

Regularj avatar Jul 24 '17 16:07 Regularj