I’ve tried to make a card that shows date and time, and then depending on a sensor ‘on’ it should change the background image, but I don’t see it change depending on the sensor.
So the standard image is a transparent png image, and the idea was that I wanted to show another image on top of it (also a png image with a transparent background), but I don’t see it change.
In the image section you might want to loose the tap-action: none and action: none statement
or indent the action: none statement by two spaces.
I would say if you have no tap-action don’t even mention it.
ok, was not sure if the spaces would affect the latter stuff.
what happens if you put both an on and off state image in there in addition to the general one?
Is the state value really on and off or maybe some other text, refer tot the developer tools- states for the values of the sensor.
Yes, it really is on/off in dev tools. And it shouldn’t be necessary as I understand it to have both on and off, but it unfortunately didn’t change anything if I added both states.
Currently I’ve just set it up to react on a light.