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.65k stars 30.79k forks source link

Gree climate does not update tha data (status) #128046

Open andrassaraa opened 1 month ago

andrassaraa commented 1 month ago

The problem

The HA does not update the climate status (switch) if the change is made with a remote control. It does not follow the climate continuously.

What version of Home Assistant Core has the issue?

2024.10.1

What was the last working version of Home Assistant Core?

2024.09.

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @cmroche, mind taking a look at this issue as it has been labeled with an integration (gree) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `gree` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign gree` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


gree documentation gree source (message by IssueLinks)

hindsight2021 commented 3 weeks ago

I am reproducing this event as well as of 2024.10.1 - I confirm the audible 'beep' from the units confirming the change, but the entities in home assistant do not update to show the changes. Reloading the configuration has no impact.

flyjshum commented 3 weeks ago

Hello. I have the same problem. The status is not updated when changes are made from the remote control. But if you restart HA, it shows the current status

Регистратор: greeclimate.network
Источник: /usr/local/lib/python3.12/site-packages/greeclimate/network.py:240
Первое сообщение: 22:54:31 (1 сообщений)
Последнее сообщение: 22:54:31

Error while handling packet
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/greeclimate/network.py", line 235, in packet_received
    param = params.get(resp, lambda o, a: (o, a))(obj, addr)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/greeclimate/network.py", line 225, in <lambda>
    Response.RESULT.value: lambda o, a: [dict(zip(o["pack"]["opt"], o["pack"]["val"]))],
                                                                    ~~~~~~~~~^^^^^^^
KeyError: 'val'
andrassaraa commented 2 weeks ago

Hello Everybody

Currently I am using the below version and the entity status is still not updated automaticaly.

Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4

Anybody has idea?

deniselenok commented 6 days ago

The same for the latest version of HA and Gree AC

Can we provide some details for investigation? Please suggest.