Scenes not activating

Hi,

It’s probably just a small configuration error that I miss, but somehow my scenes won’t do anything. They show up in HA and when I click activate HA notifies that the service was called, but nothing happens:

Below my scenes.yaml:

- name: Fernsehen
  entities:
      media_player.fernseher:
          state: on
          source: LiveTV
      light.wohnzimmerlicht_boden:
          brightness: 100
      light.wohnzimmerlicht_decke:
          brightness: 0

- name: Home
  entities:
      light.wohnzimmerlicht_decke:
          brightness: 10
      light.wohnzimmerlicht_boden:
          brightness: 200

Nobody an idea? Is my code at least correct?

Your indentation uses four spaces. It should use two spaces like this:

- name: Fernsehen
  entities:
    media_player.fernseher:
      state: on
      source: LiveTV
    light.wohnzimmerlicht_boden:
      brightness: 100
    light.wohnzimmerlicht_decke:
      brightness: 0

Oh man, thanks! :slight_smile:

Scene seems to be fired now, but failes with:

reproduce_state: Unable to reproduce state <state light.wohnzimmerlicht_decke=None; brightness=0 @ 2018-12-10T17:57:09.418267+01:00> (2)

reproduce_state: Unable to reproduce state <state light.wohnzimmerlicht_boden=None; brightness=100 @ 2018-12-10T17:57:09.418167+01:00> (2)

5:57 PM helpers/state.py (WARNING)

Based on the error message and the Scene example shown here, I would say you must specify the state for all of the lights in your scene.

- name: Fernsehen
  entities:
    media_player.fernseher:
      state: on
      source: LiveTV
    light.wohnzimmerlicht_boden:
      state: on
      brightness: 100
    light.wohnzimmerlicht_decke:
      state: on
      brightness: 0
1 Like

Thanks, that worked :slight_smile: