If there a way to change the style for a tile by a rule or the value of a variable which is not associated to the tile.
I’m looking to “grey out” the volume controls for my home audio system when the mute is pressed.
I could do it by holding onto the current volume level in a variable when Mute is pressed, set tile volume variable to 0 and have the volume tile use a “greyed out style” when the volume is 0.
Then when unmute is pressed i could reset the volume to the held value and the style for the volume tile will get adjusted correctly. A little wonky…
If I do that, I still have to a couple tiles I set up which simple execute a rule to set the volume to a predefined level. For those tiles there is no real control I can execute to change the style state.
Is there a way to access tiles by rules ?