Skip to content

On Home Assistant 2026.10 or older? Open it in HACS

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation.

About

Xtend Tuya is a Marketplace integration that adds entities missing from the core Tuya integration. It can run alongside the core Tuya integration and add entities to the devices it already provides, or run without it and supply all devices itself. Added entities include those needed by the Energy dashboard, plus lock support that needs extra configuration. Tuya cloud credentials can be entered as an option when entities are still missing, and the cloud connection is required. It covers many platforms, among them sensors, switches, numbers, covers, locks, cameras and vacuums, and offers actions for camera streams, WebRTC and irrigation valve timers. A second Tuya account can be added as another hub, and it is set up in the UI.

Automatic summary of the README and code of azerty9971/xtend_tuya. Something wrong, or are you the maintainer and want your own text here? Get in touch

Shows in Vulpo

Light card, Quick Toggle card, Cover card, Climate card, Apple Watch, Control Center, Climate Live Activity, Vacuum Live Activity.

Installs over time

3,643
Oct 21Nov 15

#93 of 1,599 Marketplace integrations. Installs sharing analytics.

Supports

  • Uses the vendor's cloudNeeds an internet connection and an account with the vendor.
  • Found by itselfHome Assistant spots it on the network and offers to add it.
  • From the MarketplaceInstalled through the Marketplace, formerly HACS.
  • Actively maintainedIts author released or pushed a change in the last six months.

Provides

  • Lights
  • Climate
  • Humidifiers
  • Fans
  • Covers
  • Cameras
  • Locks
  • Alarms
  • Remotes
  • Vacuums
  • Switches
  • Sensors

Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

Connect

  • User code

Also asked when signing in again.

Ir add key

  • New key display nameThe display text of the new key that will be added to the IR device.
  • New key technical nameThe technical name of the new key that will be added to the IR device.

Ir add device

  • New device name

Add Tuya OpenAPI credentials

  • Don't ask for OpenAPI credentials
  • Country
  • Tuya IoT Access ID
  • Tuya IoT Access Secret
  • SmartLife/Tuya account
  • SmartLife/Tuya account password

After setup

  • Don't ask for OpenAPI credentials
  • Country
  • Tuya IoT Access ID
  • Tuya IoT Access Secret
  • SmartLife/Tuya account
  • SmartLife/Tuya account password
  • Device
  • Don't ask for OpenAPI credentials
  • Country
  • Tuya IoT Access ID
  • Tuya IoT Access Secret
  • SmartLife/Tuya account
  • SmartLife/Tuya account password
  • Device
  • Device
  • Device
  • Current temperature multiplier
  • Current humidity multiplier
  • Target temperature multiplier
  • Target humidity multiplier
  • Invert the control of the device
  • Invert the reported status of the device
  • Time from opened to closed (seconds)
  • Status refresh interval
  • Force use of virtual position
  • Device doesn't support precise positioning

Texts from the code of azerty9971/xtend_tuya.

Entities

  • Binary sensorsBattery charging, Cleaning, Number of cleaning, Door contact, Door contact 2, Door contact 3, and 34 more
  • ButtonsChange litter bag, Clear energy, Deep clean, Empty litter box, Factory reset, Filter reset, and 15 more
  • ClimateMode
  • CoversCurtain 2, Curtain 3, Door, Door 2, Door 3, Blind, and 2 more
  • EventsLock alarm, Movement detected, Lock record, Lockout alarm, Opened from inside, Device notifications
  • LightsLight 2, Light 3, Backlight, Light, Night light
  • LocksOperate lock
  • NumbersAlarm time, Auto lock time, Max breath detection distance, Min breath detection distance, Breath detection sensitivity, Micro-motion detection upper limit, and 122 more
  • SelectsAlarm volume, Beep volume, Manual shoveling, Manual dumping, Status, Cleaning mode, and 52 more
  • SensorsCurrent A, Voltage A, Grid Frequency, Grid current, Active power, Active power A, and 285 more
  • SwitchesAlarm 1, Alarm 2, Alarm 3, Alarm 4, Alarm switch, and 123 more
  • TimesCountdown 1, Countdown 2, Countdown 3, Countdown 4, Countdown 5, and 3 more
  • ValvesValve

Actions

  • Get camera stream URLGet camera stream URL
    • Device ID
    • Source
    • Stream type
  • Call APICall an API and return the result
    • Source
    • Method
    • URL
    • Payload
  • Get ICE servers (WebRTC)Get the ICE servers needed for a WebRTC connection
    • Device ID
    • Session ID
    • Source
    • Format
  • SDP exchange (WebRTC)Perform a WebRTC SDP exchange
    • Device ID
    • Session ID
    • Source
    • Channel
  • Debug WebRTCGet the traces of the WebRTC communication
    • Session ID
    • Source
  • ToggleToggles (enable / disable) an automation.
  • TriggerTriggers the actions of an automation.
    • Skip conditions
  • ReloadReloads the automation configuration.
  • Set fdm5kw irrigation timerWrite a scheduled irrigation timer into one slot of a QT-08W valve.
    • Device ID
    • Slot
    • Hour
    • Minute
    • Mode
    • Value
    • Days
    • Enabled
  • Delete fdm5kw irrigation timerRemove a scheduled irrigation timer from a QT-08W valve.
    • Device ID
    • Slot
    • Hour
    • Minute
    • Days
  • Start fdm5kw wateringOpen a QT-08W valve for a single run, stopping after a duration or a volume.
    • Device ID
    • Mode
    • Value
  • Stop fdm5kw wateringClose a QT-08W valve and end the current run.
    • Device ID
  • Clear fdm5kw cloud-timer quota lockoutReset the circuit breaker that suppresses Tuya cloud-timer writes after a 60001001 'controllable device pool quota insufficient' error. Call this after upgrading the IoT Core plan or removing devices so the next timer change retries the cloud write. Writes that go straight to the device were never affected by the lockout.
  • Resync fdm5kw timers from cloudReconcile the Home Assistant timer registry for one valve against the Tuya cloud and drop slots the cloud no longer knows about. Disabled leftovers are dropped without a device write; an enabled orphan slot, which would otherwise water unattended, is cleared with a device write that costs one controllable-device unit. Returns the reconcile counts.
    • Device ID

Troubleshooting

  • DiagnosticsDownloads a diagnostics file to attach to a bug report.
  • Repair noticesNotices it can show in Settings, Repairs:Tuya vacuum support for vacuum.turn_off is being removed, Tuya vacuum support for vacuum.turn_on is being removed, Tuya OpenAPI request failed, Tuya OpenAPI credentials expired, Tuya OpenAPI account not configured, Tuya OpenAPI account badly configured (lock), Tuya OpenAPI account badly configured (camera), Tuya OpenAPI account badly configured (IR), Tuya OpenAPI account badly configured (Energy stat), Tuya OpenAPI MQTT Not authorized

From the README

Extended Tuya integration for Home Assistant.

  • Adds entities needed by the Energy dashboard
  • Adds support for locks (requires additional configuration)
  • Much more...
From the README of azerty9971/xtend_tuya, GNU GPL v3.0. Shortened.

Information

Installs
3.6k sharing analytics
GitHub stars
372
Connection
Uses the vendor's cloud
Upkeep
Updated in the last 6 months
Version
v4.5.4,
Category
Hubs and protocols, Smart home hubs
Kind
Marketplace integration
Brand
Tuya
Needs
Needs the Marketplace (HACS on 2026.10 and older)
Domain
xtend_tuya

More from Tuya

You might also like

Try it with your own Home Assistant.

Vulpo on a MacBook, a Studio Display, an iPhone, an iPad and an Apple Watch.
  • Free to download
  • iPhone, iPad, Mac and Apple Watch
  • 40+ native card types
  • Connects to your own Home Assistant

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. About these numbers

New in 2026.11: HACS becomes the Home Assistant Marketplace, what changes.

Looking for an app? The best Home Assistant apps for iPhone, by need.