cozylife / hass_cozylife_local_pull

home asstiant plugin
81 stars 35 forks source link

2 Gang switch, but only 1 entity appears #34

Open wongtszsang opened 2 months ago

wongtszsang commented 2 months ago

Recently I bought a Cozylife 2 gang smart switch, however in home assistant, it only shows one switch entity, and toggling the switch will turn on/off both lights.

cozylife commented 2 months ago

Hello. Please provide me with the device id and I will check if the device's model is set correctly.

wongtszsang commented 2 months ago

Hi,

I found the following ID's in Home Assistant's entity registry: ID: 1c64225531445e778070a472c5e5e7d2 Unique_ID: 73431517e86bea492bc8

and here are the info I found in HomeKit: Model: SWITCH2_L1 Firmware: 1.0.1

cozylife commented 2 months ago

I did not find the device with device_id=73431517e86bea492bc8.

BonefaceJohnson commented 2 months ago

Recently I bought a Cozylife 2 gang smart switch, however in home assistant, it only shows one switch entity, and toggling the switch will turn on/off both lights.

same

thegeekybeng commented 2 months ago

If i may interject. The CozyLife multi-gang Device switches only works on HomeKit for some reasons.

Linking it to Google Home creates the same singular switch control only.

So I wasn't surprised with I have 4 different CozyLife Wall Swtiches for my devices and they function only as the main device level.

With this info, I hope that it will help to shed some light on why only cozylife doesn't appear as multi-gang switches outside of HmeKit.

neyestrabelli commented 1 month ago

I have same problem, I have 4 switches and they are 2 gangs, but only 1 switch appears. In log discovery detects:

2024-05-13 11:39:30.294 INFO (Thread-8 (reconnect_thread)) [custom_components.hass_cozylife_local_pull.tcp_client] 57044627a0764e739183
2024-05-13 11:39:30.294 INFO (Thread-8 (reconnect_thread)) [custom_components.hass_cozylife_local_pull.tcp_client] 00
2024-05-13 11:39:30.294 INFO (Thread-8 (reconnect_thread)) [custom_components.hass_cozylife_local_pull.tcp_client] r8i69w
2024-05-13 11:39:30.294 INFO (Thread-8 (reconnect_thread)) [custom_components.hass_cozylife_local_pull.tcp_client] Smart switch
2024-05-13 11:39:30.294 INFO (Thread-8 (reconnect_thread)) [custom_components.hass_cozylife_local_pull.tcp_client] https://static-cf-cn.doiting.com/storage/images/00621bdc1c7b984ec54faca4e4f5fc9d.png
soulripper13 commented 1 month ago

Anybody found a solution? I have 2 gang switches too. But it shows as one entity.

BonefaceJohnson commented 1 week ago

FIXED Got it to work finally, check this out.

https://github.com/yangqian/hass-cozylife/issues/31#issue-2362229422