AmoebeLabs / flex-horseshoe-card

Flexible Horseshoe card for Home Assistant Lovelace UI. A card with a flexible layout, a horseshoe-like donut graph, multiple entities or attributes, graphics and animations!
259 stars 42 forks source link

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

Open AmoebeLabs opened 4 years ago

AmoebeLabs commented 4 years ago

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'
eleibzon commented 2 weeks ago

Is there any progress with this bug?

tolga-orhon commented 6 days ago

This is probably due to bug #92, where when an entity without an attribute used after an entity with an attribute.