benleb / sureha

SureHA 🐾 monitor & control your Sure Petcare devices via Home Assistant
Apache License 2.0
21 stars 12 forks source link

Felaqua not showing actual weight. #15

Closed blair287 closed 3 years ago

blair287 commented 3 years ago

Was working ok but updated to latest release now when I filled up it's not showing it.

You can see in attributes that actual weight is over 1000 but remaining shows previous amount.

Screenshot_20210814-222945 Screenshot_20210814-222930 Screenshot_20210814-222952

blair287 commented 3 years ago

It did update eventually but took over 30inutes has the polling rate been changed?

blair287 commented 3 years ago

As far as I can tell this is only effects the felaqua but updates seem to take 20-40 minutes to show up but pet attributes show up quite quickly that they drank.

You can see that 19ml was drank at 22:27 but it wasn't until 22:45 that change showed up times are -1 hour from phone time.

Screenshot_20210814-234717 Screenshot_20210814-234724

blair287 commented 3 years ago

@benleb looks like it's not looking at actual_weight as that number is changing but it's looking at weight which doesn't change when someone has a drink but it does know who.

Think it's best to use the actual weight for the sensor.

benleb commented 3 years ago

hey, please try again with v0.2.3, I think everything should be working now. If not, please open another issues (but I think if there's a problem, its a new one :D)