#Display Boolean State as Icon?

1 messages · Page 1 of 1 (latest)

shy obsidian
#

Hello,

Semi new to HA
I put a zigbee vibration sensor in my mailbox - to detect when mail is delivered.

I have a few automations with helpers to toggle booleans in conjuction with a door sensor (door sensor starts timer, and the mailbox has to be checked within certain time frame for the automation to tigger than I have collected my mail)

Anyway - I have it all set up but I am having trouble sorting out how I should display it on my Dashboard.

It will obviously be conditional - but physically having a dashboard icon say: No Mail, Mail Delivered, Mail Collected - It should pull the data from the helpers being on or off.

Anyway - sort of a mess, again I am new to HA and sorting out "logic" in itself has been a learning curve.

dim mango
#

I would suggest creating a template sensor entity. https://www.home-assistant.io/integrations/template/
You can use the logic to set the name and icon and then subsequently show that entity on your dashboard. It's a bit complicated to setup but useful in the long run. #1284966664357810196 would be the place to ask for help if you run into issues setting it up.