Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:apexcharts-card
- header:
- show: true
- title: Vorhersage nächsten 6 Tage
- colorize_states: true
- apex_config:
- chart:
- height: 150px
- width: 350px
- graph_span: 6d
- span:
- start: day
- series:
- - entity: sensor.solar_forecast_timeline
- name: PV
- yaxis_id: kwh
- type: column
- group_by:
- func: last
- duration: 1d
- show:
- datalabels: true
- data_generator: |
- return [
- [moment().add(0, 'days'), entity.attributes.day_0],
- [moment().add(1, 'days'), entity.attributes.day_1],
- [moment().add(2, 'days'), entity.attributes.day_2],
- [moment().add(3, 'days'), entity.attributes.day_3],
- [moment().add(4, 'days'), entity.attributes.day_4],
- [moment().add(5, 'days'), entity.attributes.day_5],
- [moment().add(6, 'days'), entity.attributes.day_6]
- ]
Advertisement
Add Comment
Please, Sign In to add comment