Capn_jimbo
(PRANITH PERERA)
March 29, 2019, 8:07am
1
hi all
I am very new to configuring the home assistant
I am getting this error when i click ‘check config’
Error loading /config/configuration.yaml: mapping values are not allowed here
in “/config/configuration.yaml”, line 134, column 22
scene:
- name: bedroom_normal
entities:
light.bedside_light
state: 'on'
transition: 2
brightness_pct: 80
- name: bedroom_dim
entities:
light.bedside_light
state: 'on'
transition: 2
brightness_pct: 10
Any help is appreciated …
use a colon after the light. Quotes are not necessary:
- name: bedroom_normal
entities:
light.bedside_light:
state: on
transition: 2
brightness_pct: 80
you can btw use a nicer name i the scripts, the HA engine will create the correct scene name for you internally:
- name: Bedroom normal
entities:
light.bedside_light:
state: on
transition: 2
brightness_pct: 80
1 Like
Capn_jimbo
(PRANITH PERERA)
March 29, 2019, 8:15am
3
Thank you so much… will test it out…
Mariusthvdb:
name: Bedroom normal entities: light.bedside_light: state: on transition: 2 brightness_pct: 80
cool. please check the code above again. Below I’ve corrected a slip in the spacing of the entities:
which should be in line with the name:
field as follows:
- name: Bedroom normal
entities:
light.bedside_light:
state: on
transition: 2
brightness_pct: 80