Skip to content

Instantly share code, notes, and snippets.

@skywalkerisnull
Last active February 16, 2025 08:54
Show Gist options
  • Save skywalkerisnull/7eb21317579a65e1552c2a4c72e94db6 to your computer and use it in GitHub Desktop.
Save skywalkerisnull/7eb21317579a65e1552c2a4c72e94db6 to your computer and use it in GitHub Desktop.
type: custom:plotly-graph
title: Daily Max Temp & Feels Like
entities:
- entity: sensor.gw1100c_feels_like_temperature
type: bar
name: |
$ex "Max Feel Temp " + parseFloat(ys.at(-1)).toFixed(2) + " °C"
statistic: max
width: 40000000
period: day
marker:
color: orange
- entity: sensor.gw1100c_outdoor_temperature
type: bar
name: |
$ex "Max Temp " + parseFloat(ys.at(-1)).toFixed(2) + " °C"
statistic: max
width: 80000000
period: day
marker:
color: lightblue
opacity: 0.8
- entity: sensor.gw1100c_outdoor_temperature
type: bar
name: |
$ex "Min Temp " + parseFloat(ys.at(-1)).toFixed(2) + " °C"
statistic: min
width: 87000000
period: day
marker:
color: black
opacity: 0.8
layout:
yaxis:
title: Temperature
side: left
xaxis:
title: Time
showlegend: true
bargap: 0.5
hours_to_show: 336h
refresh_interval: 10
@skywalkerisnull
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment