@aristosv wrote:
I am using the code below to show the status of my front door sensor in Home Assistant.
title: DOORS icon: 'mdi:door' cards: - type: button entity: binary_sensor.entrance_door_sensor icon: 'mdi:door' icon_height: 50px icon_width: 50px - type: horizontal-stack cards: - type: gauge name: Battery unit: '%' entity: sensor.entrance_door_battery min: 0 max: 100 severity: green: 100 yellow: 50 red: 20 - type: gauge name: Lux unit: 'Lux' entity: sensor.entrance_door_lux min: 0 max: 100 severity: green: 100 yellow: 50 red: 20
and this is the result
My problem is that after a few minutes, the sensor goes into standby mode to save battery, and the battery value and lux value are not available any more, until the door opens again, and the sensor sends data to home assistant again.
So it becomes like this
Is there a way to maintain the values, until the door opens again, and new data is sent? Or maybe replace the yellow squares with something…nicer?
Thanks
Posts: 3
Participants: 2