On the last picture I have included some red text in Paint as where I want it to go. I get no errors now on an easy scene inclusion wich is inbedded in configuration.yaml:
Tänd allt = Turn on all lights (turn on all selected light on x percent)
and so on (red text)
I nreally need this scenes/groups to work and easy to find at “startpage”. I find the new Lovelace easy to include stuff like Fibaro multisensors (temp etc) as you can see. But including scenes I dont get working.
as a test in my configuration.yaml.
I however cannot test if it works becuse I dont find it/know how to get it to front end or what you call it. And I do not find any easy documentation on the subject.
I want it to be where I put the red text in picture 2.
Best regards,
EDIT: I have been looking here also to try find/test add it as I stated above (pic 3
As Sparkydave said; please fix your formating of the code. If this is what you have in your configuration file, it will not work. The indentations are wrong. It should be something like;
when was this changed? Up to now I have all my scenes configures as follows, and they work without any issue:
##########################################################################################
# Scenes Home theater
##########################################################################################
- name: Home theater off
entities:
light.buffet: off
light.dining_table: off
light.office_inside: off
light.master_bedroom: off
group.bureau_lights: off
light.living_ceiling_3_wall: off
- name: Home theater on
entities:
light.kist:
state: on
transition: 4
brightness: 125
hs_color: [14,83]
light.home_theater:
state: on
transition: 4
brightness_pct: 40
rgb_color: [255,188,85]
light.office_outside: on
light.gym_audio:
state: on
transition: 4
brightness_pct: 40
light.lounge_chair_long:
state: on
transition: 4
brightness_pct: 40
hs_color: [21,65]
of course you can use a button to call a scene, but most likely you will need automation to do so automatically based on other Home settings, see the link for an example how to call a scene.
that might be the case, but that would be used best for the various entities one can use in a scene, which have different states. It is rather counter-intuitive to mix them, and to use true false for an entity that is on or off…
A light is either on or off, so I prefer using state: on in a scene. Especially when one reads the first line on the docs page:
a scene can specify that light A should be turned on
sure, working smoothly. In fact it looks better than yours
in Yaml you don’t need the 4 spaces indentation (like you do in Python) and it is preferred to use indentations of 2 spaces. Yaml his very picky about spaces, so forcing yourself to be rigid in this respect is a good thing.
which can be cool indeed.
Still, scenes really prove their power when used automatically, and of course that’s what Home Assistant does fantastically: HomeAutomation. Calling scenes from an automation based on states of other entities really makes your Home setup shine.