lbbrhzn / ocpp

Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
MIT License
224 stars 69 forks source link

New Log (deprecation) Warnings in HomeAssistant >= 2024.5.4 #1175

Closed TNTLarsn closed 5 months ago

TNTLarsn commented 5 months ago

Describe the bug

Logger: py.warnings
Quelle: custom_components/ocpp/api.py:1496
Integration: Open Charge Point Protocol (OCPP) ([Dokumentation](https://github.com/lbbrhzn/ocpp/blob/main/README.md), [Probleme](https://github.com/lbbrhzn/ocpp/issues))
Erstmals aufgetreten: 18:17:29 (2 Vorkommnisse)
Zuletzt protokolliert: 19:17:30

/usr/local/lib/python3.12/site-packages/ocpp/v16/call_result.py:318: UserWarning: HeartbeatPayload is deprecated, use instead Heartbeat warnings.warn(

and

Logger: py.warnings
Quelle: custom_components/ocpp/api.py:1289
Integration: Open Charge Point Protocol (OCPP) ([Dokumentation](https://github.com/lbbrhzn/ocpp/blob/main/README.md), [Probleme](https://github.com/lbbrhzn/ocpp/issues))
Erstmals aufgetreten: 17:45:01 (8 Vorkommnisse)
Zuletzt protokolliert: 19:30:00

/usr/local/lib/python3.12/site-packages/ocpp/v16/call_result.py:370: UserWarning: MeterValuesPayload is deprecated, use instead MeterValues warnings.warn(

To Reproduce Steps to reproduce the behavior: Open your Home Assistant instance and show your Home Assistant logs.

Open Charge Point Protocol (OCPP) v0.5.3 (latest)

lbbrhzn commented 5 months ago

solved in #1168