Skip to content

Instantly share code, notes, and snippets.

@skywalkerisnull
Created February 16, 2025 08:38
Show Gist options
  • Save skywalkerisnull/eae6afcd69e5743bf1931d1ce4d5ce48 to your computer and use it in GitHub Desktop.
Save skywalkerisnull/eae6afcd69e5743bf1931d1ce4d5ce48 to your computer and use it in GitHub Desktop.
type: custom:plotly-graph
title: Daily Max RH
entities:
- entity: sensor.gw1100c_humidity
type: bar
name: |
$ex "Max Humidity " + parseFloat(ys.at(-1)).toFixed(2) + "%"
statistic: max
width: 40000000
period: day
marker:
color: "#9dccf5"
opacity: 0.8
- entity: sensor.gw1100c_humidity
type: bar
name: |
$ex "Min Humidity " + parseFloat(ys.at(-1)).toFixed(2) + "%"
statistic: min
width: 80000000
period: day
marker:
color: black
opacity: 0.8
layout:
yaxis:
title: Humidity
side: left
xaxis:
title: Time
showlegend: true
bargap: 0.5
hours_to_show: 672h
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