Closed vfontes closed 2 years ago
Thanks for completing the template, that is really helpful!
I expect that adding the number after the identifier should solve your problem.
{
"name": "TuyaWebPlatform",
"options": {
"username": "REDACTED",
"password": "REDACTED",
"countryCode": "55",
"platform": "tuya",
"pollingInterval": 600
},
"defaults": [
{
"id": "eb0b7e08b8a6821c16y32z_1",
"device_type": "outlet"
},
{
"id": "eb0b7e08b8a6821c16y32z_2",
"device_type": "outlet"
}
],
"scenes": false,
"platform": "TuyaWebPlatform"
}
You could also try replacing the id
with the name i.e.
{
"id": "1 Tomada",
"device_type": "outlet"
}
That did the trick, thank you so much!
Good to hear! Which of the two worked for you?
I only tried adding _1, _2, etc at the end of the IDs, and it worked first try. This is how my settings look like now:
"defaults": [
{
"id": "eb0b7e08b8a6821c16y32z_1",
"device_type": "outlet"
},
{
"id": "eb0b7e08b8a6821c16y32z_2",
"device_type": "outlet"
(...)
Describe the bug I have a few Tuya outlet strips, each one with 4 regular outlets and 4 USB type-A ports for charging. Each outlet can be individually controlled, and the 4 USB ports show up as a single outlet.
The plugin correctly exposes all devices to HomeKit and I can control them individually as expected, however, I can not set the device type to outlet in HomeKit, as it only have the option of showing the devices as fans, switches, or lights.
Here's a couple screenshots from the Tuya app and from HomeKit to better illustrate it:
Steps To Reproduce
Plugin Version 1.1.1
Homebridge Config
Device Config
Additional Context