Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

HomeAssistant 2022.2 compatibility #25

Open
w3host opened this issue Feb 13, 2022 · 3 comments
Open

HomeAssistant 2022.2 compatibility #25

w3host opened this issue Feb 13, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@w3host
Copy link

w3host commented Feb 13, 2022

Hi Bram2202,

Thanks for this project.

I have received some "last_reset" errors in HA 2022.2 and stopped working Energy usage graph :
Entity sensor.esp_dsmr_dcf007_power_consumption (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) with state_class measurement has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported.

I have updated sensors and it is working again for me again:
w3host@6e8aa0f

Regards,

Krisz

@w3host w3host added the enhancement New feature or request label Feb 13, 2022
@bram2202
Copy link
Owner

Hey,

There ware some changes regarding the last_reset in HA the a few releases ago.
Your changes look ok, can you create a PR for this?

@Dutchone
Copy link
Contributor

Dutchone commented May 5, 2022

Beware this is not based off the 13.3 update with the gas fix

@Zephael86
Copy link

Zephael86 commented Jul 31, 2022

Hi,
not an expert in git and in programming. I applied the above changes, reflashed esp8266 and no more MQTT error messages in HA 2022.7.7
Energy graph is working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants