Ajout petit carte production journalière
Code :
type: custom:plotly-graph
entities:
- entity: sensor.production_pv_wh_heure
name: Production Jour
type: bar
statistic: state
texttemplate: '%{y:.2f}'
period: hour
number:
suffix: ' kWh'
valueformat: '0.11'
textfont:
color: white
size: 10
marker:
color: '#f39c12'
opacity: 0.6
hours_to_show: current_day
time_offset: 1h
refresh_interval: auto
layout:
paper_bgcolor: rgba(0,0,0,0)
plot_bgcolor: rgba(0,0,0,0)
barmode: relative
bargap: 0.1
uniformtext:
minsize: 12
mode: show
modebar:
orientation: h
remove: pan
margin:
t: 10
l: 1
r: 1
height: 300
legend:
'y': -0.25
x: 0.02
xaxis:
gridcolor: rgba(238,235,235,0.3)
showgrid: false
linewidth: 0
linecolor: null
nticks: 8
yaxis:
visible: false