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
71.06k stars 29.72k forks source link

Not Sync state in HA when MELCloud app or remote is used #122489

Open robitsrl opened 1 month ago

robitsrl commented 1 month ago

The problem

Il i use the MELCloud app or the remote controller to set the ac homassistant do not update states. If I reload the integration state is correct. Could this be a bug, my system provlem or it’ a for design ?

What version of Home Assistant Core has the issue?

2024.7.3

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

Melcloud

Link to integration documentation on our website

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

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 @erwindouna, mind taking a look at this issue as it has been labeled with an integration (melcloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `melcloud` 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 melcloud` 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)


melcloud documentation melcloud source (message by IssueLinks)

luispb commented 1 month ago

I'm experimenting the same behavior.

erwindouna commented 1 month ago

There's a known behaviour, after a recent update by Mitsubishi that it has a delay. This can vary from 1 to 5 minutes. Does it update after a certain time at all?

robitsrl commented 1 month ago

No, it does not update at all

robitsrl commented 1 month ago

It’s updating the state Today buy I think more the 5 minutes. Now I add a notify to let me know.. I can not wait in front of the app for so long time doing anything. I will update the post

robitsrl commented 1 month ago

Update in 8 minute

schmincke commented 1 month ago

I experience the same issue. Changes from remote / device to Melcloud app is 10-20 seconds - but no changes in HA.

SirDester commented 1 month ago

Same issue with updates from MelCloud app and remote from some days, reloading the integration imediately updates the state in HA

delli87 commented 3 weeks ago

Same problem.

titocadavez commented 1 week ago

Having the same problem. Not only sync from the remote but also if I turn Off AC on the MelCloud app it wont show as turned Off on Home Assistant.

SckyzO commented 1 week ago

Yes, we need to reload MELCloud integration to have the state. I created an automation to reload integration, but is not the solution :)

luispb commented 1 week ago

@SckyzO , could you please share what that automation looks like? I agree is not the solution but at least we have a workaround.

SckyzO commented 1 week ago

I Use this Automation :

alias: 🔄 Rechargement de l'intégration MELCloud
description: >-
  Recharger l'intégration MELCloud toutes les 5 minutes pour assurer la
  synchronisation de la climatisation.
trigger:
  - platform: time_pattern
    minutes: /5
action:
  - data:
      entry_id: <my_entry_id>
    action: homeassistant.reload_config_entry
mode: single

You can find your integration_entry_id in file :

more /config/.storage/core.config_entries

(I use SSH and Terminal addon to access to this file)

cjb1975 commented 5 days ago

Same issue for me...