Skip to content

Commit

Permalink
Add flex result sensor #156
Browse files Browse the repository at this point in the history
Attempt to make powerplay values visible
  • Loading branch information
fsaris committed Feb 14, 2025
1 parent 913e7ec commit 99ebd3c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions custom_components/zonneplan_one/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,15 @@ class ZonneplanButtonEntityDescription(ButtonEntityDescription):
entity_registry_enabled_default=True,
state_class=SensorStateClass.TOTAL_INCREASING,
),
"session_flex_result": ZonneplanSensorEntityDescription(
key="charge_point_data.meta.session_flex_result",
name="Charge point session flex result",
icon="mdi:cash",
value_factor=0.0000001,
native_unit_of_measurement='EUR',
state_class=SensorStateClass.TOTAL_INCREASING,
entity_registry_enabled_default=True,
),
"session_average_cost_in_cents": ZonneplanSensorEntityDescription(
key="charge_point_data.meta.session_average_cost_in_cents",
name="Charge point session average costs",
Expand Down

0 comments on commit 99ebd3c

Please sign in to comment.