Skip to content

Instantly share code, notes, and snippets.

@MichaelMKKelly
Last active May 8, 2025 05:53
Show Gist options
  • Save MichaelMKKelly/a236dba1219579789a11295793444112 to your computer and use it in GitHub Desktop.
Save MichaelMKKelly/a236dba1219579789a11295793444112 to your computer and use it in GitHub Desktop.

LocalTuya does not work on HA 2025.5

Home assistant depricated some older methods in 2025.5. this was well documented and had a long warning period... you should refer to the LocalTuya Repo - https://github.com/rospogrigio/localtuya/

LocalTuya have not yet implemented the fixes

There has been various issues raised on their repo

rospogrigio/localtuya#1851 rospogrigio/localtuya#1864 rospogrigio/localtuya#1871 rospogrigio/localtuya#1905 rospogrigio/localtuya#1932 rospogrigio/localtuya#1940 rospogrigio/localtuya#1949 rospogrigio/localtuya#1977 rospogrigio/localtuya#1980

and finally the release broke it: rospogrigio/localtuya#1982

NB: there is some discussion of work around in this most recent issue which implement the charge from unmerged PR's

there was been a PR on the repo for a while but it has not been approved rospogrigio/localtuya#1968

There is also a different PR rospogrigio/localtuya#1983 that implents an alternate fix.

When will it be fixed?

This is not directly a Home Assistant Issue, LocalTuya is a non-supported Custom Integration so it is entirily on owners timeline.

Please keep in mind that not every integration developer has a lot of time to work on their integration projects. so whilst you should direct questions to their repo, Please be polite and respectful of their time.

This should be a fairly small task for them to merge and release a fix as multiple people are already using the fix so it has been tested.

What if it never gets updated?

Then it is likely someone will fork the repo however before that happens it is likely some time will pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment