RobertD502 / home-assistant-flair

Custom component for Home Assistant Core for Flair pucks, vents, rooms, structures, and minisplits
MIT License
87 stars 12 forks source link

Can't Graph current thermostats values #47

Closed roberthau1981 closed 1 year ago

roberthau1981 commented 1 year ago

We have 3 thermostats in the house.

The thermostat card shows the current value, but i can't graph the value anywhere.

I'm using a nest 3rd gen and 2 honeywell d6 pro's1

![Uploading image.png…]()

roberthau1981 commented 1 year ago

BTW i love the flair integrated into homekit.

RobertD502 commented 1 year ago

I'm unable to see what image you're attempting to upload (it wasn't uploaded).

roberthau1981 commented 1 year ago
Basically I can see the current tempearture of my thermostats from the flair api but I can’t use it in any graph. Only the flair devices can I graph. It seems that the values are not being populated into home assistant to be tracked. Sent from Mail for Windows From: Robert DrinovacSent: Thursday, January 12, 2023 10:33 AMTo: RobertD502/home-assistant-flairCc: roberthau1981; AuthorSubject: Re: [RobertD502/home-assistant-flair] Can't Graph current thermostats values (Issue #47) I'm unable to see what image you're attempting to upload (it wasn't uploaded).—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***> 
RobertD502 commented 1 year ago

What entity are you using? (The climate entity from your structure, room, etc)

roberthau1981 commented 1 year ago
   You can see below that the 3 other rooms don’t have a “Temperature” entity.  Sent from Mail for Windows From: Robert DrinovacSent: Thursday, January 12, 2023 11:25 AMTo: RobertD502/home-assistant-flairCc: roberthau1981; AuthorSubject: Re: [RobertD502/home-assistant-flair] Can't Graph current thermostats values (Issue #47) What entity are you using? (The climate entity from your structure, room, etc)—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***> 
RobertD502 commented 1 year ago

I'm unable to see anything. All of your replies are coming in like this:

image

Switch over to the github site to upload images/reply.

roberthau1981 commented 1 year ago

flair1 flair2 flair3

RobertD502 commented 1 year ago

What card are you using in Home Assistant to display the graph?

Also, can you please provide pictures of each of the rooms that aren't showing up in the graph --> Provide images from the Flair integration screen for each room that shows all entities associated with each room. For example:

image

RobertD502 commented 1 year ago

Also please provide the YAML code that you have for the graph card you are using. You can do that by editing the card and selecting "SHOW CODE EDITOR", which will show the YAML being used to create the card.

roberthau1981 commented 1 year ago

This is the multiple Graphs.

type: custom:plotly-graph entities:

This is a sample thermostat type: thermostat entity: climate.hallway_room

RobertD502 commented 1 year ago

From what I can see in the YAML, your graph card doesn't have the climate entities for the 3 Flair rooms you're missing defined. Since the Flair room climate entities are climate entities and not sensors, you will also need to define the attribute that you want to plot for each one of them (as shown in the plotly-graph documentation). For example, if I want to plot the current temperature for my Flair dinning, bedroom, and office rooms, the YAML would look like this:

type: custom:plotly-graph
entities:
  - entity: climate.dining_room_room
    attribute: current_temperature
  - entity: climate.bedroom_room
    attribute: current_temperature
  - entity: climate.office_room
    attribute: current_temperature
hours_to_show: 24
refresh_interval: 10

What you end up with is this:

image

roberthau1981 commented 1 year ago

your awesome that was the fix.