[Solved] Invalid Scene config

After the last update I got this error on my scene configuration:

Invalid config for [scene]: State for climate.meq123456 should be a string for dictionary value @ data['states'][0]['entities']. Got None. (See /config/configuration.yaml, line 40).

This is a working scene and the following not working:

# WORKING SCENE

- name: Licht Lesen
  entities:
    light.hue:
      state: on
      brightness: 255
      color_temp: 360

# ERROR SCENE 

- name: Heizung off
  entities:
    climate.meq123456:
      preset_mode: eco
    climate.meq987654:
      preset_mode: eco

meq works fine, I can control it via frontend usualy.

I can’t finde any other description in the docs. What has changed?

Thanks!

Searched for round about three days and found the answer right after start this thread :slight_smile:

Every entities needs a state. This solves it

- name: Heizung off
  entities:
    climate.meq123456:
      state: on
      preset_mode: eco
    climate.meq987654:
      state: on
      preset_mode: eco
2 Likes

Hey,
I’ve faced with the same problem and the solution is not working in my case.

Scene config for cover forces me to specify state. In this manner I cannot set cover position (only open/closed state allowed).

I see issue was resolved many years ago but looks it is not present on fresh HA → Covers in scenes: Expose set_cover_position as state?

Is it possible to restore it again? or this type of state was forbidden from architectural pov?

Best regards
Mariusz