I have been away from HA for sometime now and just recently upgraded to .52 All but 3 of my automations are no longer working. Here is one such automation which until recently worked fine:
automation 1:
trigger:
platform: state
entity_id: binary_sensor.furnace_room_openclose_sensor_sensor
state: 'off'
action:
service: notify.EventGhost
data:
message: 'Furnace.Room.Open/Close.Sensor.Closed'
One of the three automations that still works is below
automation 14:
trigger:
platform: numeric_state
entity_id: sensor.foyer_motion_luminance
below: 25
action:
service: notify.EventGhost
data:
message: 'Foyer.Lux.LO'
What is wrong with automation 1 and why wont it load. The error(s) I see are not very specific
2017-08-03 09:19:23 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [state] is an invalid option for [automation]. Check: automation->trigger->0->state. (See /var/opt/homeassistant/configuration.yaml, line 427). Please check the docs at https://home-assistant.io/components/automation/