I haven’t faced any issues on Android App.
MAYBE - you need to reload your UI / Cache - it could be that some state colors are not immediately changed on the android companion app… Have faced something like that, too… but after closing the app completely and reopen it, it has worked well
that is exactly what these theme color variables can do? set them in themes, and use those themes either auto dark/light, or with any other granularity you should wish.
There is no need for card_mod if all you need is to change a couple of color variables during day/night.
just set them in the appropriate color setting and see the changing of the themes change your tiles…
change colors depending on state is another matter entirely, and probably even out of scope of this thread…
And how can I set the color of the binary sensors? They are yellow now.
Also the mediaplayer icon doesn’t work anymore.
I use a theme.yaml to change the colors for day and night. After the last update the colors changed again.
How can I change these colors back to the color I want?
I’ve tried these settings but that doesn’t work.
I want them dark blue at day and orange at night.
Thank you for reply.
I have tested it again, stoped the app,cleared the cache, the color of disarm is gray on the phone with card_mod. On PC its green how i modded it…
hm… I cannot confirm this case - in my Companion App all state “individual” state colors that I’ve set with Card_mod are working as expected.
But if you want to define the “disarm” globally for all alarm panels, I would consider not to use card_mod in that particular case.
You could just use it within your configuration.yaml or within your themes file…
So for example with:
frontend:
themes:
my_theme:
state-alarm-armed-color: '#F44336' # Red
state-alarm-arming-color: '#FF9800' # Orange
state-alarm-disarmed-color: '#4CAF50' # Green
state-alarm-pending-color: '#FF9800' # Orange
state-alarm-triggered-color: '#F44336' # Red