After restarting HA, all the generic thermostats that matched the glob got the attribute as designed. I changed one to true but when I restarted HA, it had reverted to false.
Is there a way I can persist changes to this customised attribute? I’m trying to avoid adding another helper if possible.
My understanding is he wanted to change the attribute for one of the entities not all, hence the glob won’t work since if he changes it at runtime then it will revert back on restart.
I wanted to initially have them all the same but then I need the ability to change them within the UI and for that change to stick. I tried this (just using dev tools) but the change I made to one reverted when I restarted HA.
I was hoping I could avoid creating another helper but seems like that won’t be possible. Having a custom attribute would also help with filtering down lists based on the the value of the attribute. Using a separate helper will mean filtering down a list and then iterating through the list to check the associated helper. Not a big deal but I’m just trying to simplify things as much as possible.
I’ve managed to avoid creating an extra helper by using a label instead. Not quite as user-friendly as having a toggle but guess I could always set up a helper to make assigning the label foolproof.
Looks like there’s already a feature request for what I was looking for:
Thanks. I did see that although it hasn’t been updated for over a year so just in case it doesn’t work in the future, I’ll use the label workaround.