rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.94k stars 562 forks source link

Double Adaptor Not integrated correctly #520

Open riccidan opened 3 years ago

riccidan commented 3 years ago

I've installed Local Tuya with mainly 100% success however I have a double adaptor that appears to have ported across to HA as a single entity. In Tuya Connect I am able to integrate each plug individually, but not so here.

The device is Arlec Grid Connect Smart Plug-In Twin Socket.

Have I missed a step or are the double adaptors not yet supported?

Thank you for this integration by the way, iexcluding this minor hiccough, it's fantastic!

thewolf-oz commented 3 years ago

Hi riccidan

I've got the same one and I have it working fine. I do configure it through the configuration.yaml file however. This is the config I've got:

- host: 192.168.XXX.YYY device_id: <removed> local_key: <removed friendly_name: "Double Adaptor" protocol_version: "3.3" entities: - platform: switch friendly_name: Switch1 id: 1 - platform: switch friendly_name: Switch2 id: 2

Sorry for the indentations etc, first time responding and haven't worked out how to do it properly

riccidan commented 3 years ago

Hi thewolf-oz,

Thanks very much for sharing, worked perfectly.

I know what you mean about pasting yaml content, I struggled with it also.

I think if you paste within inverted commas it retains indentation.

Cheers,

Ricci

On Sun, 11 Jul 2021 at 17:49, thewolf-oz @.***> wrote:

Hi riccidan

I've got the same one and I have it working fine. I do configure it through the configuration.yaml file however. This is the config I've got:

  • host: 192.168.XXX.YYY device_id: local_key: <removed friendly_name: "Double Adaptor" protocol_version: "3.3" entities:
    • platform: switch friendly_name: Switch1 id: 1
    • platform: switch friendly_name: Switch2 id: 2

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rospogrigio/localtuya/issues/520#issuecomment-877757027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQU24FVWRWZOKSJLHW4FEPDTXFEHBANCNFSM472GB7KQ .