Skip to content

Light bulbs not being shown as entities on HA #26

@dannybeltran

Description

@dannybeltran

I purchased 2 light bulbs, both are working correctly with the dohome app, I did the custom components stuff, enabled the logs on the init.py file then I get the following logs:
2021-09-09 15:50:31 INFO (SyncWorker_1) [custom_components.dohome] DoHome discovery_ip:192.168.100.255

2021-09-09 15:50:31 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.30&device_id=286dcd421bac_DT-WY_W600&device_key=d36d6cb88f9bb6406b1f0673ab86e42f&device_name=Light_1bac&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:31 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.28&device_id=286dcd421b9c_DT-WY_W600&device_key=e737fedff6f57013926250ffa6fc87a3&device_name=Light_1b9c&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:32 INFO (SyncWorker_1) [custom_components.dohome] Gateway finding finished in 5 seconds

2021-09-09 15:50:32 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.28&device_id=286dcd421b9c_DT-WY_W600&device_key=e737fedff6f57013926250ffa6fc87a3&device_name=Light_1b9c&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:32 DEBUG (SyncWorker_1) [custom_components.dohome] DoHome devices cmd=pong&host_ip=192.168.4.1&sta_ip=192.168.100.30&device_id=286dcd421bac_DT-WY_W600&device_key=d36d6cb88f9bb6406b1f0673ab86e42f&device_name=Light_1bac&device_type=_DT-WY&compandy_id=_DOIT&chip=W600

2021-09-09 15:50:33 INFO (SyncWorker_1) [custom_components.dohome] Gateway finding finished in 5 seconds

2021-09-09 15:50:43 INFO (SyncWorker_1) [custom_components.dohome.light] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_1) [custom_components.dohome.light] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_3) [custom_components.dohome.sensor] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:43 INFO (SyncWorker_3) [custom_components.dohome.sensor] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:44 INFO (SyncWorker_5) [custom_components.dohome.binary_sensor] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:44 INFO (SyncWorker_5) [custom_components.dohome.binary_sensor] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

2021-09-09 15:50:51 INFO (SyncWorker_0) [custom_components.dohome.switch] {'sid': '1bac', 'name': 'Light_1bac', 'sta_ip': '192.168.100.30', 'type': '_DT-WY'}

2021-09-09 15:50:51 INFO (SyncWorker_0) [custom_components.dohome.switch] {'sid': '1b9c', 'name': 'Light_1b9c', 'sta_ip': '192.168.100.28', 'type': '_DT-WY'}

as per the above logs there doesn't appear to be any errors however the entities "light.dohome..." entitites are not showing in Home Assistant... what could be the issue? Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions