banner-card
banner-card copied to clipboard
Device class not honored
Using a binary_sensor as entity with device class door show on and off in card instead of open closed.
See my sample:
- entity: binary_sensor.deursensor01
name: Meterkast
map_state:
'on': 'mdi:door-open'
'off': 'mdi:door-closed'
Thank you for sharing the solution to this! I thought I was going crazy. Here's what I did:
map_state:
'on': Open
'off': Closed