Hello, after installing the 0.30.0 version, HASS not “load” the automations.
No longer appear in the Services and they not work … it happened to someone else?
Are you seeing errors in home-assistant.log? They’ll usually guide you to a fix.
If you have problems with HASS starting or are having problems with some things not loading, such as the automations, always use the hass --script check_config option and it will tell you what the problem is with your automations.
In fact, this should be run every time after an update before trying to run Home Assistant normally.
If you are running on Raspberry Pi with the All-In-One installer for instance, you would type this:
runuser -l hass -c '/srv/hass/hass_venv/bin/hass --script check_config'
On other systems, you should know how your hass runs, and simply tag the --script check_config onto the end of it.
Also, re-read the “Breaking Changes” section of the the 0.30.0 blog post, as it tells you what changes you may need to make to your configuration. You may be using deprecated commands in your automations that need to be updated to the correct format.
i’ve checked the log file and i receive this error:
homeassistant.bootstrap: Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->condition->0->platform. Please check the docs at https://home-assistant.io/components/automation/
Why? this is my only one automation:
- alias: “Turn On Tree Spot”
trigger:
platform: sun
event: sunset
offset: “+00:25:10”
condition:
platform: state
entity_id: switch.lampioni_automatici
state: ‘on’
action:- service: switch.turn_on
entity_id: switch.ard_rl4
- service: switch.turn_on
##########################################################
- alias: “Turn Off Tree Spot”
trigger:
platform: time
hours: 01
minutes: 00
seconds: 00
action:- service: switch.turn_off
entity_id: switch.ard_rl4
- service: switch.turn_off
I think this bit should be
condition:
condition: state
I don’t think you can use platform in a condition as per…
Ok…i’ve solved!!! Thanks!