kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
3.04k stars 235 forks source link

Attribute value not shown #864

Closed gonzzovela closed 1 year ago

gonzzovela commented 1 year ago

Hi,

I'm trying to show an entity's atribute and the card does not extract any value (NaN)

type: custom:mini-graph-card name: Temperatura entities:

The entity is a Netatmo thermostat:

These are the attributes shown in the developer tools: hvac_modes:

Furthermore, if I create an entity card and select the same attribute, it works without any problem: type: entity entity: climate.salon_soto attribute: current_temperature

Thanks for your help

ildar170975 commented 1 year ago
  1. Please edit your post - use a formatting for a code. Place a code into triple "`".
  2. Test the same card with an attribute from another entity (sensor, not climate).
gonzzovela commented 1 year ago
  1. Please edit your post - use a formatting for a code. Place a code into triple "`".
  2. Test the same card with an attribute from another entity (sensor, not climate).

thanks for the hint.

Using the entity sun, I was able to make it work and from there I was able to replicate it for the netatmo thermostat entity.

type: custom:mini-graph-card entities: - entity: climate.mi_habitacion attribute: current_temperature

All is working.

Sorry if I mislead you!