Skip to content

pumpenergysavecalculatedtimemonitor is device_class energy instead of duration #1550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danielstosch opened this issue May 26, 2025 · 0 comments

Comments

@danielstosch
Copy link

Description

Hi, I am getting this error in Homeassistant:
The unit of measurement minis not valid together with device classenergy. this will stop working in HA Core 2025.7.0
I use the file mqtt-hassio.cfg
I am not able to find the place to change this value. It would be good if you could give me a hint so that I can create a pull request directly next time.

Actual behavior

error after restarting HA

Expected behavior

pumpenergysavecalculatedtimemonitor should have device_class duration instead of energy

ebusd version

25.1

ebusd arguments

  EBUSD_ACCESSLEVEL: "*"       #EBUSD_ACLFILE: "/path/to/aclfile"       EBUSD_ENABLEHEX: ""       EBUSD_ENABLEDEFINE: ""       EBUSD_PIDFILE: "/var/run/ebusd.pid"       EBUSD_PORT: 8888       EBUSD_LOCALHOST: ""       EBUSD_HTTPPORT: 8080       EBUSD_HTMLPATH: "/var/ebusd/html"       EBUSD_UPDATECHECK: "on"       EBUSD_LOGFILE: "/var/log/ebusd.log"       EBUSD_LOGLEVEL: "error"        EBUSD_MQTTHOST: 192.168.3.11       EBUSD_MQTTPORT: 1883       EBUSD_MQTTTOPIC: "ebusd/%circuit/%name"       EBUSD_MQTTGLOBAL: "ebusd/global/"       EBUSD_MQTTRETAIN: ""       #EBUSD_MQTTQOS: 0       EBUSD_MQTTINT: "/etc/ebusd/mqtt-hassio.cfg"

Operating system

Debian 12 (Bookworm) / Ubuntu 22-23 / Raspberry Pi OS 12 (including lite)

CPU architecture

x64

Dockerized

latest

Hardware interface

Adapter Shield v5 via USB

Related integration

No response

Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant