0.3.0
Enhancements
-
Monetary Classification and Total State Class:
- Updated the energy and cost sensors to utilize the
SensorDeviceClass.MONETARY
andSensorStateClass.TOTAL
. This enhancement allows Home Assistant to better understand and categorize the sensor data, ensuring that the sensors are correctly recognized as monetary units and that their states are accumulated totals. This update aids in improved integration with other Home Assistant features and automations that rely on financial and cumulative measurements.
IMPORTANT: You will lose the history graph with this update because of Device and State class change. Correct value will remain.
- Updated the energy and cost sensors to utilize the
-
Reset Cost Service:
- Introduced a new service
dynamic_energy_cost.reset_cost
that enables users to reset the cumulative energy costs and kWh counts for specified sensors. This functionality is crucial for users who need to start fresh measurements without having to manually adjust or recalibrate their sensors. This reset can be triggered through the Home Assistant UI or via automation scripts, offering flexibility and control over energy monitoring.
- Introduced a new service
To reset the energy cost and cumulative kWh for a specific sensor, you can use the following service call in Home Assistant:
service: dynamic_energy_cost.reset_cost
target:
entity_id: sensor.your_sensor_entity_id
These updates aim to enhance user experience and provide more robust control and monitoring capabilities for managing energy costs efficiently within the Home Assistant platform.