Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102449

Change entitty value in Lovelace Card

$
0
0

@Niall wrote:

Hello,

I have a door sensor which records its value as on or off, which is not good for a door status:
image

The code I am using is

- entity: sensor.living_room_occupancy
type: custom:multiple-entity-row
name: Living Room Occupancy
icon: false
secondary_info: last-changed
icon: none
- entity: binary_sensor.0x00158d00041d4a8f_contact
type: custom:multiple-entity-row
name: Living Room Patio Door
icon: false
secondary_info: last-changed
icon: none

Home Assistant displays it beautifully as open and closed:
image

What I would like to do is change the word “On” to “Closed” and “Off” to “Open”, can I do that in Lovelace entity card?

Many thanks for your help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>