Hi,
I want to have a graph of a sensor state over time to compare it with other sensor data. However, I only get a color-coded bar, no xy-graph.
The sensor is defined via a template like this:
template:
- sensor:
- name: "const_fronius_symo_max_power_W"
# inverter max power is 5000 W
state: >
{{ 5000 | int }}
- name: "const_pv_carport_installed_Wp"
state: >
{{ 5220 | int }}
- name: "const_max_grid_feed_W"
# Solarspitzengesetz: maximum grid feed is 60% of kWp installed
state: >
{{ states("sensor.const_pv_carport_installed_Wp") | float(0) * 0.60 }}
- name: "fronius_symo_dyn_power_limit_W"
state: >
{{ ( [ ((states("sensor.shellypro3_total_active_power") | float(0) )
+ (states("sensor.fronius_symo_5_0_leistung_ac") | float(0) )
+ (states("sensor.const_max_grid_feed_W") | float(0) )),
states("sensor.const_fronius_symo_max_power_W") | float(0) ] | min )
}}
Is the template missing anything to instruct HA to do that? Thanks!