flex-horseshoe-card icon indicating copy to clipboard operation
flex-horseshoe-card copied to clipboard

Template sensors don't render. Nothing is shown in that case

Open AmoebeLabs opened this issue 5 years ago • 2 comments

As shown in this post: https://community.home-assistant.io/t/lovelace-flexible-horseshoe-card-donut-graph-flexible-layout-multiple-entities-actions-animations-including-next-gen-experimental-examples/137850/47, template sensors using a value_template don't render.

Sensor is defined as:

      esxi_vm0_datastore1_total_capacity:
        friendly_name: 'VM0 Used Disk Space - Datastore 1'
        value_template: "{{ states['sensor.esxi_datastore_datastore1'].attributes.total_space_gb + states['sensor.esxi_datastore_vms_datastore'].attributes.total_space_gb | round () }}"
        unit_of_measurement: 'GBs'

AmoebeLabs avatar Oct 02 '19 11:10 AmoebeLabs