Show temperature in type: picture-glance

When I add the entity in the lovelace it only gives me a temperature Icon and not the value.
image
When trying to add a template sensor it gives med the following error.

Invalid config for [binary_sensor.template]: [unit_of_measurement] is an invalid option for [binary_sensor.template]. Check: binary_sensor.template->sensors->pooltemp->unit_of_measurement. (See ?, line ?).

   - platform: template
     sensors:
       pooltemp:
         friendly_name: PoolTemperatur
         unit_of_measurement: "°C"
         value_template: "{{ state_attr('sensor.pool_temperature.state', 'temperature') }}"       

Could someone please guide me in the right direction…

Picture glances don’t show values. You’ll have to move to another card type.

okej, I had a little hunch that it could be that.
Any tip on howto see camera feed and merge temperature etc.?

You can use the header or footer abilities. It might not look the way you like though. Otherwise you can investigate using picture-elements card to position items where you want them.

1 Like

Just bumped on this while searching for something and want to add this.

HA_Picture-glance

type: picture-glance
title: Kitchen
image: 'https://demo.home-assistant.io/stub_config/kitchen.png'
entities:
  - entity: binary_sensor.desktop_online
    show_state: true
  - entity: sensor.home_humidity
    show_state: true
2 Likes

How did you get so big characters under the icons?

Hi @karaspr, I haven’t done anything special; that’s just the default but the picture may be a bit enlarged by the forum software.

1 Like