The following integrations and platforms could not be set up:
automation
Please check your config.
The only reference i can see in the log is this
Logger: homeassistant.config
Source: config.py:413
First occurred: 8:03:17 AM (88 occurrences)
Last logged: 7:37:54 PM
Invalid config for [automation]: (See /config/configuration.yaml, line 15).
I’ve tried including the automations directly into the configuration.yaml file and then hoping to see more detailed where the error is, but i still get the same error.
Divide your automations in half. Cut half of the automations out of the config and save them in a text document. If a config check passes - the problem is in the cut out half.
Paste half of it back and config check again.
If a config check fails, it is in the newly pasted section.
Repeat dividing the problem section in two until you narrow down where the issue is.
That’s not a log entry, it’s a summary to let you know that your log contains one or more of that error. Click the ‘Show homeassistant log’ button and post the actual error.
It says there are 88 occurrences, so presumably you have at least 88 things in your automations.yaml that require attention. How many automations do you have?
In fact, it says those 88 occurrences happened throughout the day, so you want to start by looking at the automations that should have triggered during that time period.
There should be more, and the odds are high it’s a time pattern trigger. For some reason invalid values (like seconds: /90) only produces an error at startup, not during a config check.
Logger: homeassistant.config
Source: config.py:413
First occurred: 12:11:28 PM (5 occurrences)
Last logged: 1:08:37 PM
Invalid config for [automation]: must be a value between 0 and 59 for dictionary value @ data[‘seconds’]. Got None. (See /config/configuration.yaml, line 13).
Find it.It was old Automatation but with last updates come the error.
It was this
type: is_off
condition: device
device_id: 4b935bec66a64c60819822a29a6
entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor_4
domain: binary_sensor
for:
hours: 0
minutes: 2
seconds: 0
I want to use it as condition
can i use like this condition: state
entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor_4
for: ‘00:05:10’
state: ‘off’
?
You’ve skipped completely out of the conversation we were having and landed us somewhere new. I have literally no idea where I am. How much will it cost me to get home from here?