Customize status data source for Tuya

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

But in the device specification. The value from work_state is “warm”:

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

Yes, you can change parameters using the Action Flow cards

Haven’t been able to get that working.

Just trying something simple like:

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

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.

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

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.

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

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.

I believe this is the issue: com.tuya2/drivers/other/driver.ts at 8aab2772e23ef9c39e4b02ce08f849117298047a · Drenso/com.tuya2 · GitHub

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.