Replies: 2 comments 1 reply
-
Please post the result of the steps under "How to check whether the api this library uses can control your device". Without this it is hard for me to help you with regards to this specific issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick reply. Here is the result. The switch is called "Bureau Switch" {
"header":{
"code":"SUCCESS",
"payloadVersion":1
},
"payload":{
"devices":[
{
"data":{
"brightness":"100",
"color_mode":"white",
"color_temp":1459,
"online":true,
"state":"true"
},
"dev_type":"light",
"ha_type":"light",
"icon":"https://images.tuyaeu.com/smart/solution/28002/37e69c2be34b7642_cover.png",
"id":"83212364600194f7f852",
"name":"Wout Main Kast"
},
{
"data":{
"brightness":"100",
"color_mode":"white",
"color_temp":1000,
"online":true,
"state":"true"
},
"dev_type":"light",
"ha_type":"light",
"icon":"https://images.tuyaeu.com/smart/solution/28002/37e69c2be34b7642_cover.png",
"id":"83212364600194f7efbd",
"name":"Wout Main Deur"
},
{
"data":{
"brightness":"10",
"color_mode":"white",
"color_temp":1035,
"online":true,
"state":"true"
},
"dev_type":"light",
"ha_type":"light",
"icon":"https://images.tuyaeu.com/smart/solution/28002/37e69c2be34b7642_cover.png",
"id":"83212364600194f7ea84",
"name":"Wout Main Bureau"
},
{
"data":{
"online":true,
"state":false
},
"dev_type":"switch",
"ha_type":"switch",
"icon":"https://images.tuyaeu.com/smart/solution/126002/63ef34c2da0d9955_cover.png",
"id":"bf21e84491acbdccc3yfe0",
"name":"Bureau Switch"
},
{
"data":{
"brightness":"1000",
"color_mode":"colour",
"color_temp":1000,
"online":true,
"state":"true"
},
"dev_type":"light",
"ha_type":"light",
"icon":"https://images.tuyaeu.com/smart/program_category_icon/dj.png",
"id":"bf9966a3adccc0b5876aug",
"name":"Rechthoeken"
},
{
"data":{
},
"dev_type":"scene",
"ha_type":"scene",
"id":"qgBMjeTp8I9S0qYO",
"name":"\"Rechthoeken\" ON/OFF:ON"
}
],
"scenes":[
]
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just installed a Tuya 2-gang switch (so with two buttons each for a single light) and connected this to the TuyaSmart app, where it is shown correctly. But when I add the switch in homebridge only the first button is shown.
Hopefully, somebody is willing and able to help
Beta Was this translation helpful? Give feedback.
All reactions