I’m trying to add a button via lovelace (hass.io) that will dim the entity light.office_lamp to 50%. I was hoping it would be as straight forward as just using the light card and assigning some settings, but it appears it’s not that simple. I’ve been reading over the documentation, and while I’m not new to development, hassio has been a crazy learning curve.
In short, is there a way to add a card that just triggers an event which would simply dim a specific light to a certain percentage?
Note that creating scenes will involve writing yaml, whereas if you use an entity button to call a service, you should be able to get by only using the frontend.
scene:
- name: Dim Light test
entities:
light.office_lamp:
state: true
brightness: 20
If I do this via a service instead the scene I created, can I avoid rebooting the pi? After creating the service that is. Currently, when I create the scene, I reboot the pi… that’s standard procedure when editing the config file correct?