New room card state templates #1035
kepath
started this conversation in
Show and tell
Replies: 1 comment
-
Can you share some examples? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have created some state templates for use with, but not limited to, the room card.
These are similar to the _on and _off templates, but they set different colours and icons for different states.
A simple example would be for a printer, where the state 'ready' would be blue; anything else would be red




I have several others - washing machine activity,
weather predictions with the colour representing the temperature,
robot mower status with a rain icon if rain is detected,
etc
However I do not think these state templates fit into the existing directory structure.
Should I create a 'states' folder at the same level as 'colours'?
Or perhaps create a 'card_room_templates' directory in the same location as card_room.yaml?
Does an admin have any thoughts/guidance on this?
Beta Was this translation helpful? Give feedback.
All reactions