leeyuentuen / localtuya

local handling for Tuya devices
GNU General Public License v3.0
72 stars 17 forks source link

localtuya.set_dp service call does not work for subdevices #82

Open zilvinas-spotos opened 9 months ago

zilvinas-spotos commented 9 months ago

First of all, love this fork because of the support of gateways and subdevices. I can add and manage devices through the UI.

However, I can't get scripts with service calls to set_dp to work on devices as I want to control the scene_data_v2 data point.

Everything works for devices connected directly, without a gateway. With subdevices, I ger error "Unknown device ID". I have tried Tuya id, cid, ha id, with no luck.

Am I doing something wrong or is this not supported?