home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.4k stars 30.65k forks source link

Meater integration incorrect Remaining Time #71879

Closed muxa closed 2 years ago

muxa commented 2 years ago

The problem

While cooking, all the probe sensors show correct information, except Probe Remaining Time state is wrong. It set to about 2 years ahead, while the Meater app shows 10 minutes remaining.

Here's the state value of sensor.meater_probe_remaining_time_3:

2024-01-09T23:04:13+00:00

What version of Home Assistant Core has the issue?

2022.5.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Meater

Link to integration documentation on our website

https://www.home-assistant.io/integrations/meater/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Here's the JSON snippet from Meater API for this cook:

            {
                "id": "9c8f93d2cb91984ea....",
                "temperature": {
                    "internal": 63.4,
                    "ambient": 168.3
                },
                "cook": {
                    "id": "c5316ed4a9c5c0fc....",
                    "name": "Lamb Leg",
                    "state": "Started",
                    "temperature": {
                        "target": 71,
                        "peak": 63.4
                    },
                    "time": {
                        "elapsed": 6964,
                        "remaining": 605
                    }
                },
                "updated_at": 1652569482
            }
probot-home-assistant[bot] commented 2 years ago

meater documentation meater source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @sotolotl, @emontnemery, mind taking a look at this issue as it has been labeled with an integration (meater) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

hillbicks commented 2 years ago

Same here, remaining time within the app is 15minutes, HA shows 14 October 2024, 16:58

EDIT: Now the remaining time is back up to 28 minutes and HA shows 29 September 2026, 17:24.

I mean, I need to work on my patience, granted, but this is a bit much if you ask me :p

Anto79-ops commented 2 years ago

likewise as above. Even when the cook is done, it still has a remaining time shown of...1 year.

see below for screenshot

meator

emontnemery commented 2 years ago

thanks @muxa for sharing JSON data 👍

Anto79-ops commented 2 years ago

Thanks for the fix! Works as it should in the beta