Skip to content

0.3.0

Compare
Choose a tag to compare
@martinarva martinarva released this 09 May 09:14
· 10 commits to main since this release
b145dba

Enhancements

  1. Monetary Classification and Total State Class:

    • Updated the energy and cost sensors to utilize the SensorDeviceClass.MONETARY and SensorStateClass.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.
  2. 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.

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.