xZetsubou/hass-localtuya

๐Ÿ”น A Home Assistant integration to handle Tuya devices locally "fork from localtuya"

Python

1,251

1,272 commits

updated Sep 25, 2026

See the code

README

Buy Me A Coffee


logo

A Home Assistant custom Integration for local handling of Tuya-based devices.

Usage and setup Documentation


Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ

  • Supported Sub-devices - Devices that function through gateways
  • Remote entities - Supports IR remotes through native remote entity
  • Auto-configure devices - Requires a cloud API setup
  • Automatic insertion - Some fields requires a cloud API setup
  • Devices discovery - Discovers Tuya devices on your network
  • Cloud API - Only to help you to setup devices, can work without it.

๐‘๐ž๐ฉ๐จ๐ซ๐ญ๐ข๐ง๐  ๐š๐ง ๐ข๐ฌ๐ฌ๐ฎ๐ž

๐‚๐ซ๐ž๐๐ข๐ญ๐ฌ

rospogrigio, the original maintainer of LocalTuya. This fork was created when the upstream version was at v5.2.1.

NameLessJedi and mileperhour being the major sources of inspiration, and whose code for switches is substantially unchanged.

TradeFace, for being the only one to provide the correct code for communication with the cover (in particular, the 0x0d command for the status instead of the 0x0a, and related needs such as double reply to be received):

sean6541, for the working (standard) Python Handler for Tuya devices.

jasonacox, for the TinyTuya project from where I got big help and references to upgrade integration.

uzlonewolf, for maintaining TinyTuya who improved the tool so much and introduced new features like new protocols, etc.

postlund, for the ideas, for coding 95% of the refactoring and boosting the quality of the upstream repository.

homeassistant
homeassistant-integration
integration
local
localtuya
tuya

xZetsubou/hass-localtuya

๐Ÿ”น A Home Assistant integration to handle Tuya devices locally "fork from localtuya"

Python

1,251

1,272 commits

updated Sep 25, 2026

See the code

README

Buy Me A Coffee


logo

A Home Assistant custom Integration for local handling of Tuya-based devices.

Usage and setup Documentation


Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

๐…๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ

  • Supported Sub-devices - Devices that function through gateways
  • Remote entities - Supports IR remotes through native remote entity
  • Auto-configure devices - Requires a cloud API setup
  • Automatic insertion - Some fields requires a cloud API setup
  • Devices discovery - Discovers Tuya devices on your network
  • Cloud API - Only to help you to setup devices, can work without it.

๐‘๐ž๐ฉ๐จ๐ซ๐ญ๐ข๐ง๐  ๐š๐ง ๐ข๐ฌ๐ฌ๐ฎ๐ž

๐‚๐ซ๐ž๐๐ข๐ญ๐ฌ

rospogrigio, the original maintainer of LocalTuya. This fork was created when the upstream version was at v5.2.1.

NameLessJedi and mileperhour being the major sources of inspiration, and whose code for switches is substantially unchanged.

TradeFace, for being the only one to provide the correct code for communication with the cover (in particular, the 0x0d command for the status instead of the 0x0a, and related needs such as double reply to be received):

sean6541, for the working (standard) Python Handler for Tuya devices.

jasonacox, for the TinyTuya project from where I got big help and references to upgrade integration.

uzlonewolf, for maintaining TinyTuya who improved the tool so much and introduced new features like new protocols, etc.

postlund, for the ideas, for coding 95% of the refactoring and boosting the quality of the upstream repository.

homeassistant
homeassistant-integration
integration
local
localtuya
tuya

Significant stargazers

Rex_sa

82 followers ยท starred Dec 2024

Pavan Thanuj Upadrasta

43 followers ยท starred Dec 2025

Patrick Geneva

330 followers ยท starred Nov 2024

Felix Richter

113 followers ยท starred Feb 2026