Screenshots From the README of Korkuttum/tuya_heat_pump.
About
Tuya Heat Pump controls and monitors a Tuya heat pump from Home Assistant. It can connect through the Tuya cloud or locally over the network with a device key, and the cloud mode can add optional MQTT push for faster state updates. It provides binary sensors, sensors, switches, numbers, selects, texts and a climate platform, including a work mode select. An optional thermostat card can be switched on, with a power switch, temperature entities, heat and cool values and limits on target temperature. Devices that report about every second stay on polling by default to protect the Tuya message quota, and a repair notice appears if the MQTT sign-in must be redone. Setup is done in the UI, and the integration has only been tested with certain heat pump brands.
Automatic summary of the README and code of Korkuttum/tuya_heat_pump. Something wrong, or are you the maintainer and want your own text here? Get in touch
Shows in Vulpo
Quick Toggle card, Climate card, Select card, Chart card, Apple Watch, Control Center, Climate Live Activity.Installs over time
#1,045 of 1,599 Marketplace integrations. Installs sharing analytics.
Supports
- Uses the vendor's cloudNeeds an internet connection and an account with the vendor.
- From the MarketplaceInstalled through the Marketplace, formerly HACS.
- Actively maintainedIts author released or pushed a change in the last six months.
Provides
- Climate
- Switches
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Tuya Heat Pump Setup
- Access ID
- Access Key
- Device ID
- Region
- Connection Type
- User Code (optional — for MQTT)Found in the Tuya app under Me → Settings → Account and Security → User Code. If provided, you'll be asked to scan a QR code after this step to try instant (MQTT push) updates. Note: how well this works varies by device — some devices get everything instantly, others are limited by Tuya's own restrictions (in that case the integration automatically keeps using regular polling instead, nothing breaks).
Local Device Setup (no cloud)
- Device ID
- Device IP Address
- Local Key
- Protocol Version
- Device model
- Device name (optional)Used to build entity IDs. Leave empty to use "Tuya Heat Pump (Local)" followed by the last 6 characters of the device ID.
Local Device Setup
- Device IP Address
- Local Key
- Protocol Version
Cloud Configuration
- Refresh Interval (minutes)
Scan to Enable Instant Updates
- QR Code
Optional: Climate (Thermostat) Card
- Enable climate card
- Power switch
- Current temperature (optional)
- Target temperature (optional — use it if your device has one, otherwise leave blank)
- Mode select (optional — only if your device can also cool)
- Tolerance (only used without a target temperature above)
- Minimum on/off cycle duration, minutes (compressor protection; only used without a target temperature above)
- Minimum target temperature
- Maximum target temperature
Climate Card: Heat/Cool Values
- Value that means Heat
- Value that means Cool
After setup
- Refresh Interval (minutes)
- Mark device offline after (minutes, 0 = automatic)
- Allow MQTT even for devices that send a message every secondOff (recommended): devices that send a measurement about every second (such as heat pumps) are not kept on MQTT, because every message counts against the Tuya IoT Core message quota and a single device can use it up in a few days. They use regular polling instead. Turn on only if you know your quota allows it.
- Device IP Address
- Local Key
- Protocol Version
- Enable climate card
- Power switch
- Current temperature (optional)
- Target temperature (optional — use it if your device has one, otherwise leave blank)
- Mode select (optional — only if your device can also cool)
- Tolerance (only used without a target temperature above)
- Minimum on/off cycle duration, minutes (compressor protection; only used without a target temperature above)
- Minimum target temperature
- Maximum target temperature
- Value that means Heat
- Value that means Cool
- Device IP Address
- Local Key
- Protocol Version
- Device model
Texts from the code of Korkuttum/tuya_heat_pump.
Entities
- SelectsWork Mode
Troubleshooting
- Repair noticesNotices it can show in Settings, Repairs:MQTT sign-in needs to be redone
Information
- Installs
- 126 sharing analytics
- GitHub stars
- 17
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v2.6.6,
- Category
- Climate, Heat pumps and air conditioning
- Kind
- Marketplace integration
- Brand
- Tuya
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
tuya_heat_pump- Issues
- Report an issue
More from Tuya
Tuya Smart IR AC1.1k installs · Control Tuya IR based air conditioners and generic devices from…Open
LocalTuyaIR Remote Control474 installs · Tuya universal remote control device Home Assistant integrationOpenYou might also like
Try it with your own Home Assistant.

- Free to download
- iPhone, iPad, Mac and Apple Watch
- 40+ native card types
- Connects to your own Home Assistant















