Unit of Current Import warning messages #319
-
When my Pulsar Plus started charging all by itself last night (another story), I noticed the following WARNING message... sensor.wallbox_power_active_import has unit None which is unsupported for device_class power Logger: homeassistant.components.sensor.recorder sensor.wallbox_power_active_import has unit None which is unsupported for device_class power Followed by another WARNING message... The unit of sensor.wallbox_current_import is changing, got multiple {None, 'A'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (A) Logger: homeassistant.components.sensor.recorder The unit of sensor.wallbox_current_import is changing, got multiple {None, 'A'}, generation of long term statistics will be suppressed unless the unit is stable and matches the unit of already compiled statistics (A) Do I need to be concerned about either of these? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
This might be caused by a MeterValues.req from the charger that contains meterValues with an empty or missing unit field. All MeterValues should have proper units. If the unit field is omitted it defaults to 'Wh'. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. Here are the log entries I think are relevant... 2022-01-20 21:59:13 DEBUG (MainThread) [websockets.server] < TEXT '[2,"71b1db97-89b0-4805-8c79-ddd9ca972960","Mete...actionId": 1642669128}]' [1094 bytes] |
Beta Was this translation helpful? Give feedback.
-
Thanks guys. Good to know I can use the 'Fix Issue' links in Statistics to sort this out. Also good to know that MeterValues are how they should be. I remember the OCPP spec saying that Frequency doesn't need to have any unit and will be defaulted to Hz. |
Beta Was this translation helpful? Give feedback.
Thanks guys. Good to know I can use the 'Fix Issue' links in Statistics to sort this out.
Also good to know that MeterValues are how they should be. I remember the OCPP spec saying that Frequency doesn't need to have any unit and will be defaulted to Hz.