asednev / homebridge-plugin-govee

Govee H-series Thermometer Hygrometer plugin for Homebrige.
Apache License 2.0
53 stars 9 forks source link

Upon changing name, sensors duplications #17

Closed stefanolarentis closed 3 years ago

stefanolarentis commented 3 years ago

Hi,

I love this plugin. I have been using Govee H5102 and it works perfectly. However once I decided to change the name of the humidity and temperature widgets on Homekit, a bug developed. After I changed the names two new widgets created with the old name, and they are stuck with the last temperature measurement before I changed the names. I was unable to find a way to get rid of the duplicate/stuck sensors.

This also is replicated in the accessories window. See below. image

Thanks a lot!

asednev commented 3 years ago

Thank you for reporting this issue. I suspect the reason for this bug is a non-ASCII character used in the device name (rendered as a rectangle). I will look into filtering non-ASCII characters.

In the meantime, you should be able to delete the stuck accessory via settings for Homebridge. There's an option to delete a single cached accessory.

stefanolarentis commented 3 years ago

Thanks! Got rid of the cashed accessory in the UI. Thanks a lot!