sh00t2kill / dolphin-robot

A custom Home Assistant Component for WiFI enabled Maytronics Dolphin pool cleaner robots
43 stars 9 forks source link

HA Sensor Warning #99

Closed jeremywillans closed 12 months ago

jeremywillans commented 1 year ago

Hi Team!

Great work with this integration, I have a new Maytronics Robot and excited to integrate it into HA!

I have installed this and just wanted to report this Warning presented in my HA Log (running 2023.4.4)

2023-04-17 13:31:01.287 WARNING (MainThread) [homeassistant.components.sensor] Sensor sensor.flipper_cycle_time has device class duration, state class measurement and unit None thus indicating it has a numeric value; however, it has the non-numeric value: 0:12:00 (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
sh00t2kill commented 1 year ago

Thanks for bringing this to our attention. Its a new thing in 2023.4 (or maybe .3). For now it is just a warning. Should be a relatively simple fix to add the correct unit

elad-bar commented 1 year ago

will be resolved in v0.3.4

elad-bar commented 1 year ago

@jeremywillans can you pls confirm whether it's working for you without that warning?

thanks

jeremywillans commented 12 months ago

@elad-bar, just tested this again and its no longer showing! Thanks!!