# Customize status data source for Tuya

**URL:** <https://community.homey.app/t/customize-status-data-source-for-tuya/151863>\
**Category:** Devices\
**Created:** [March 1, 2026, 5:43am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863 "2026-03-01T05:43:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [March 1, 2026, 5:43am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/1 "2026-03-01T05:43:25Z")

</div>

I have a hot water cylinder that links to Tuya. In the device status in Homey, it just shows an error:

 ![1000026133](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0067f79878c81664a7d3a52e4ce32ab86873573.jpeg)

But in the device specification. The value from work\_state is “warm”:

 ![1000026037](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/9/c9bcdc31fb15ce858a804223ed0dcbc7dfd1cddf.jpeg)

Can I change the data source for the status value in the device?

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 1, 2026, 8:34am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/2 "2026-03-01T08:34:03Z")

</div>

Yes, you can change parameters using the Action Flow cards

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec4785a1b0ec511ed44aa3d0c14819a77bb2af61.png)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [March 1, 2026, 10:21am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/3 "2026-03-01T10:21:44Z")

</div>

Haven’t been able to get that working.

Just trying something simple like:

 ![1000026134](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/8/3878659e8b959203be3c0b88a0910a11d3d544ae.jpeg)

Still has the same error on the Status screen. I can’t see a card for Status. Just cod, string and work\_state.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 1, 2026, 11:24am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/4 "2026-03-01T11:24:17Z")

</div>

That’s strange. Is the `work_state` a read only parameter? Maybe you need to choose another parameter. To trigger your Flows based on changes, you can use the Trigger cards from the device.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 2, 2026, 12:39am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/5 "2026-03-02T00:39:50Z")

</div>

To send commands per Then card, you’d look for the available commands at what’s available at “functions”, not “status”

 ![Screenshot_20260302_013832_Ecosia](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/e/5eeb5da0f5a8481db16f9a39bb13f4efcb9d6a49.jpeg)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [March 2, 2026, 4:36am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/6 "2026-03-02T04:36:06Z")

</div>

Ok. That gives me switch, temp\_set, child\_lock and timer.

The status isn’t in functions. Guess it can’t be done on this device.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 2, 2026, 7:47am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/7 "2026-03-02T07:47:43Z")

</div>

Possibly you’ll have to control it by setting the max. temp with temp\_set?  
Heating: temp\_set = 70  
Off: temp\_set = 15

 ![Screenshot_20260302_084519_Ecosia](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/e/3e203c7a9ee4f4b35d9f8dcae14ceac1b70a16e2.jpeg)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [March 3, 2026, 8:00am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/8 "2026-03-03T08:00:43Z")

</div>

Actually all I’m trying to do is get the status to show from “work\_state”. For now I’ve mapped it to a variable. But would be good if we could use it to set the device status.

 ![1000026154](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a32b66800188fe631cbde56c897b7b7a6f0c3116.jpeg)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [March 3, 2026, 9:32am UTC](https://community.homey.app/t/customize-status-data-source-for-tuya/151863/9 "2026-03-03T09:32:59Z")

</div>

I believe this is the issue: [com.tuya2/drivers/other/driver.ts at 8aab2772e23ef9c39e4b02ce08f849117298047a · Drenso/com.tuya2 · GitHub](https://github.com/Drenso/com.tuya2/blob/8aab2772e23ef9c39e4b02ce08f849117298047a/drivers/other/driver.ts#L19)

My device type “rs” is not a supported category. It’s shown as “other”. I have requested the developer add “rs” category for water heaters.
