syssi / philipslight

Xiaomi Philips Lights integration for Home Assistant
Apache License 2.0
70 stars 19 forks source link

Missing Device record in Devices list #63

Closed cranetm closed 7 months ago

cranetm commented 1 year ago

Hello, I'm trying to add philips zhirui downlights. I've got new entity light.lights1. The issue is - there is no Device in Devices & Services -> Devices list. _Also, I've noticed, that if I put a model explicitly, unique_id is empty and in some cases, HA gives me an error "This entity does not have a unique ID, therefore its settings cannot be managed from the UI". So, I removed model from config and integration does the job with unique_id._

But still, no Device.

My configuration:

light:
  - platform: xiaomi_miio_philipslight
    name: lights1
    host: 192.168.0.6
    token: ....
syssi commented 1 year ago

This implementation exposes a single light entity and no device. Did you try to use the official component (xiamio_miio)?

cranetm commented 1 year ago

I did and it worked with some delay. Is it possible to make it work via local network? Or what am I doing wrong? :)

syssi commented 1 year ago

Both integration communicate with the devices directly / via the local network. The cloud credentials are used once to retrieve the security token.

syssi commented 1 year ago

Do you have additional questions? If not I would like to close the issue.