I’ve installed HA yesterday and been getting to know the configuration. Right now I’m trying to see if I can configure a few presets/profiles per light, so I don’t have to use the color picker + brightness slider. However, I just can’t seem to get it to work. Maybe I’m completely going about this the wrong way or maybe what I want is not even possible (I know it’s possible with scenes, but I don’t want to configure multiple scenes per light). I’ve been mainly looking at the /components/light/ documentation.
So far I’ve tried this:
Added an include to my configuration.yaml:
light: !include lights.yaml
Tried to configure a single light with a single profile:
light.bureau.default:
platform: tradfri
friendly_name: Bureau
profile: energize
This throws me an error:
2019-08-18 10:12:19 ERROR (MainThread) [homeassistant.config] Invalid config for [light]: required key not provided @ data['platform']. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 16). Please check the docs at https://home-assistant.io/components/light/
Is this the correct way to get presets per light? If so, how do I get it to work?
Then I guess I’m kinda missing something in how HA works. What I hope to achieve is that I get a bunch of buttons in the GUI that I can use to switch my lights to a profile. I do have the lights show up in the GUI right now (auto configuration upon install) and I can switch them, but if I want to change any light settings I have to manually pick a color and brightness. Is there any other way to set the lights through the GUI?