Plotting clima entities with attributes #13
Replies: 11 comments 31 replies
-
Beta Was this translation helpful? Give feedback.
-
Happy to hear it works for you! |
Beta Was this translation helpful? Give feedback.
-
Enjoying your work a lot! Is there a way to repeat the time values along the x-axis for each graph? |
Beta Was this translation helpful? Give feedback.
-
Wow, thanks a lot - being able to use attributes is amazing!! No need of heaps of unnecessary template sensors :-) |
Beta Was this translation helpful? Give feedback.
-
If I want to display a climate entity exact the same way as it does in the default graph with heading and cooling events colored orange and blue respectively under the current_temperature from the hvac_action attribute how would I do that? Starting out with something like this I am only getting vertical lines at the heating periods, the temp is not being plotted and I am not sure how I would set a color filled per map_y
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi David, Thank you very much for all the work you have put into this: great! I'm probably being too stupid, but after 2 hours of searching I couldn't find out how to set the minimum and maximum of the Y-axis... What have I overlooked? Thanks for the help! Kay |
Beta Was this translation helpful? Give feedback.
-
Okay, I See: so I can´t scale each Y-Axis with different values at all? |
Beta Was this translation helpful? Give feedback.
-
Okay, thank you very, very much! :) And at the risk of being annoying: I can't manage the transparency. No matter what I set, it always remains opaque:
|
Beta Was this translation helpful? Give feedback.
-
is there an option to put 2 yaxis at one chart and still have more charts? - entity: sensor.temp_schlafzimmer_luftfeuchtigkeit
yaxis: y2
yaxes:
side: right
name: |
$ex "Rel. Luftfeuchte " +
hass.states['sensor.temp_schlafzimmer_luftfeuchtigkeit'].state +"%"
line:
width: 1
dash: dot
color: grey
show_value: false
- entity: sensor.temp_schlafzimmer_temperatur
yaxis: y2
yaxes:
side: left
name: |
$ex "Temp " + hass.states['sensor.temp_schlafzimmer_temperatur'].state
+"ºC"
line:
width: 1
dash: line
color: grey
show_value: false
- entity: sensor.temp_schlafzimmer_batterie
yaxis: y2
yaxes:
side: right
type: bar
period: hour
time_offset: '-25h'
marker:
color: '#EFEFEF'
name: |
$ex "Batterie " + hass.states['sensor.temp_schlafzimmer_batterie'].state +
"%"
defaults:
yaxes:
overlaying: 'y'
visible: true
showgrid: true
default_trace:
line:
width: 2
layout:
dragmode: pan
annotations:
- xref: paper
yref: paper
'y': 1
text: Schlafzimmer
showarrow: false
- xref: paper
yref: paper
'y': 0.5
text: Bad
showarrow: false
margin:
t: 30
l: 45
r: 30
b: 50
showlegend: false
height: 300
yaxis:
fixedrange: true
side: right
yaxis2:
fixedrange: true
grid:
rows: 2
columns: 1
pattern: coupled
roworder: top to bottom
hours_to_show: 25
refresh_interval: auto
time_offset: 1h |
Beta Was this translation helpful? Give feedback.
-
Spent ages fighting with this today, and eventually when I opened the plot up in chart studio using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions