Why not just not use the switch function? You can even “disable” the switch in Home Assistant so you can’t accidentally turn it off, and most of these sorts of switches have a setting for default (on power restoration after power loss) of on or off.
Why not just not use the switch function? You can even “disable” the switch in Home Assistant so you can’t accidentally turn it off, and most of these sorts of switches have a setting for default (on power restoration after power loss) of on or off.
The Sanctuary City riots are a perfect example of doing a great job of tackling social issues without tying it directly to a specific contemporary event. I would have preferred a fictional near-future event than an event that had barely just happened, much less one that we still haven’t felt the full effects of yet.
I do have issues with the fact modern Trek when they do things like put Elon Musk into dialogue alongside Zephrym Cochran and the Wright Brothers, or when they put the Jan6 riots into a video montage about the failures of humanity. It immediately dates the show in a way that 90s trek never felt dated, and it assumes it knows how people in the future will feel about today’s events. Look at how well the Musk reference has aged.
I’m not saying you can’t reference current social issues and make a statement on them, I’m just saying that if you make the smallest effort to use allegory, even if it’s obvious, it will age better than literally showing modern footage.
Out of curiosity, is it something as simple as needing to wrap the template in quotes? I may be mixing up my YAML with the Ansible work I’ve been doing, but I think you need to have templates double quoted like this in order to resolve the jinja2 properly:
"{{ state_attr('light.etc', 'brightness') }}
I don’t think you need the quotes in the Templates section of dev tools but you do in YAML files. I could be wrong though, let me know if you try it.
Definitely use the
state_attr()
form overstates.etc.etc
form. I think there’s something about how HA handles startup that may mess with templates if you usestates.etc.etc
.