#is there a way to get an attribute out of an entity to display in apex charts?

1 messages · Page 1 of 1 (latest)

brave tinsel
#

what I've tried:

  • entity: {{ states_attr('climate.sinope_technologies_th1124zb_g2_thermostat','target_temperature') }}
deft dragon
#
- entity: climate.sinope_technologies_th1124zb_g2_thermostat
- attribute: target_temperature
brave tinsel
#

oh awesome that looks like exactly what I want

#

currently I have two entities under a single series heading, and each entity becomes it's own graph, which is what I want

#

do I need to restructure this to add an attribute as a series?

deft dragon
#

probably not

brave tinsel
#

I've got this:

series:
  - entity: climate.sinope_technologies_th1124zb_g2_thermostat
    attribute: target_temperature
#

and it's showing the chart but it has N/A for the value

deft dragon
#

are you sure that's the right attribute

#

by default climates have temperature which is their set point and current_temperature which is their measured temperature

brave tinsel
#

yup that was the issue

deft dragon
#

that's... weird

brave tinsel
#

docs out of date I guess?

deft dragon
#

no... it's correct

#

ok, target_temperature is the internal variable name, but it's called "temperature" when it gets put in the attributes...

#

guess just a mismatch between developer side of things that you looked at and the UI side of things you're interacting with