Hi,
I have several entities which can go unavailable: some smart lights are connected to a physical button, my airquality sensor is also my phone charger, and I don’t like to keep my 3d printer on because it makes noise.
How do I best deal with this in my cards? right now those throw an ugly error when they are unavailable.
You could create template sensors for each one such that it gives a different value (of your choice) when the main entity is unavailable. Only show the template entities in your cards.
I have lights that go unavailable all the time, but the entities in my cards just show up as grayed out. How are you displaying them such that they show errors?
Post a screenshot and a code for a card which looks bad