Add support for new Home Assistant Energy feature
v1.6.12
- Fix incorrect consumption calculation (pvoutput)
v1.6.9/1.6.11
- Fix condition to reset
last_reset
the first time
v1.6.8
- Reset cache for current_power and today_energy after midnight local time
v1.6.7
- Use local time zone for
last_reset
attribute.
v1.6.6
- Fix: make
last_reset
attribute timezone aware fortoday_energy
.
v1.6.5.1
- Fix: publish
last_reset
attribute before sending MQTT value payload.
v1.6.4
The measurements published through MQTT do now have a required state_class
attribute set to measurement
The device classes in data_fields.json
have been updated.
The MQTT module has been adapted to publish the last_reset
attribute, which is needed to make the omnikdatalogger integrate with Home Assistant.
You can set the last_reset
payload by setting the start_date
at the install date of your smart meter (DSMR terminal settings) and for your inverter setting start_date
at the plant specific configuration section.
P.S. This release resolves issues with sensor entities not shown in the energy dashboard.
There is still an issue in Home Assistant with the energy dashboard where today_energy
is not reset correctly.
See: #4