I’ve created a few scenes using the Home Assistant UI. Today I started looking at them in scenes.yaml to better understand that and make some changes, and I noticed most of the entities are shown with all (or most) of their attributes, even though the scene simply just needs to turn it on or off. Here’s an example of a light that is supposed to be turned on and set to a certain brightness and color temp. Is it normal that the GUI scene editor stores all parameters like this? I’d like to trim it down for readability, is there any harm in that? I’m guessing it might even cause a slight improvement in ZHA reaction time, if I only send one “off” command instead of a whole list of commands.
I use MQTT now and my scenes are stored in Z2M but, when I was using my Hue hub, I wrote my scenes as follows. I have many others, but this has both ‘off’ and ‘on’ and colour. I did play about a bit to work out what was useful and what was extraneous.
I don’t know if this is good practice or not, but this worked well for years. I only stopped to move to a single Sonoff 3.0 stick (to replace multiple hubs/networks with a single Zigbee network).
[edit: removed one scene as the one remaining had examples of both ‘off’ and ‘on’ within]
[edit:] I should add that to do this you need to write your own yaml scenes. I don’t think you can do this in the UI (but if you are only using the UI, it shouldn’t matter anyway).