I’am getting all the time this error in automation
Logger: homeassistant.config
Source: config.py:464
First occurred: December 19, 2021, 8:56:50 AM (25 occurrences)
Last logged: 8:12:51 AM
Invalid config for [automation]: required key not provided @ data[‘action’]. Got None required key not provided @ data[‘trigger’]. Got None. (See /config/configuration.yaml, line 17).
I suspect it is referring to this automation (which works anyway):
alias: Battery Low - Pro
description: Battery have to be recharged
trigger:
- platform: numeric_state
entity_id: sensor.pro_voltage
below: ‘2.6’
for:
hours: 2
minutes: 0
seconds: 0
milliseconds: 0
condition: []
action: - service: telegram_bot.send_message
data:
message: ‘Battery D1-Pro low : {{ states(’‘sensor.pro_voltage’’) }} V’
title: ALARM
mode: restart
max: 6
Line 17 in configuration.yaml is : group: !include groups.yaml
Do you have any clue why I’m getting such notification?
Thank you in advance