rStorms
(René)
December 7, 2018, 8:17pm
1
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
rStorms
(René)
December 10, 2018, 3:28pm
2
Nobody an idea? Is my code at least correct?
123
(Taras)
December 10, 2018, 3:45pm
3
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
rStorms
(René)
December 10, 2018, 5:00pm
4
Oh man, thanks!
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)
123
(Taras)
December 10, 2018, 5:34pm
5
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