I have two servers running HA version 2020.12.1 and version 2021.1.3, I am getting below error while running 2021.1.x but no error on 2020.12.1.
Logger: homeassistant.config
Source: config.py:415
First occurred: January 15, 2021, 9:24:26 PM (10 occurrences)
Last logged: 2:36:16 PM
Invalid config for [automation]: not a valid value for dictionary value @ data['action'][1]['entity_id']. Got None. (See /config/configuration.yaml, line 31).
Below is the configuration in automation.yaml, line 31 is rgb_color: [255,255,255]
where newer version HA is throwing error:
#S1 Lights Daily Routine Rule 1 of 8
- id: Lights_daily_on_at_sunset
alias: 'Lights daily on at sunset'
initial_state: 'off'
trigger:
platform: sun
event: sunset
action:
- service: light.turn_on
data:
entity_id: light.hue_color_lamp_1
brightness: 254
rgb_color: [255,241,224]
transition: 10
- service: light.turn_on
data:
entity_id: light.upstairs
brightness: 254
rgb_color: [255,255,255]
transition: 10
- delay: "{% if states('weather.home') in ['fog','cloudy','partlycloudy','rainy','pouring','snowy-rainy','snowy'] %}00:00:01{% else %}00:15:00{% endif %}"
- service: switch.turn_on
entity_id: switch.tpswmaindoor
Need help what should be changed in service call for data dictionary values. There is no template used for any value and first entity is Philips hue bulb whereas second entity is Lifx bulb. Any help along this is appreciated.