Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hue smart switch (LOM007) is auto discovered but not added to Home Assistant #1491

Closed
mstuij opened this issue Feb 12, 2023 · 20 comments
Closed
Labels
autodiscovery question Further information is requested

Comments

@mstuij
Copy link

mstuij commented Feb 12, 2023

I have a Hue smart switch (type LOM007) which is auto discovered but not added to Home Assistant.

2023-02-12 10:17:22.169 INFO (MainThread) [homeassistant.setup] Setting up powercalc
2023-02-12 10:17:22.171 DEBUG (MainThread) [custom_components.powercalc.discovery] Start auto discovering entities
2023-02-12 10:17:22.171 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_woonkamer: Auto discovered model (manufacturer=Google Inc., model=Chromecast)
2023-02-12 10:17:22.172 DEBUG (Thread-2 (_thread_main)) [paho.mqtt.client] Received PUBLISH (d0, q0, r0, m0), 'Huis\Woonkamer\PirVoor\Status', ...  (62 bytes)
2023-02-12 10:17:22.176 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_woonkamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.176 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_pc_speaker: Auto discovered model (manufacturer=Google Inc., model=Chromecast Audio)
2023-02-12 10:17:22.177 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_pc_speaker: Model not found in library, skipping discovery
2023-02-12 10:17:22.177 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_slaapkamer: Auto discovered model (manufacturer=Google Inc., model=Chromecast)
2023-02-12 10:17:22.177 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.chromecast_slaapkamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.178 DEBUG (MainThread) [custom_components.powercalc.discovery] light.terras: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.265 DEBUG (MainThread) [custom_components.powercalc.discovery] light.terras: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.266 DEBUG (MainThread) [custom_components.powercalc.discovery] light.klikos: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.267 DEBUG (MainThread) [custom_components.powercalc.discovery] light.klikos: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.267 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_deur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color spot (LCT003))
2023-02-12 10:17:22.269 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_deur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.270 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_muur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color spot (LCT003))
2023-02-12 10:17:22.271 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_muur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.272 DEBUG (MainThread) [custom_components.powercalc.discovery] light.voorraam_woonkamer_kleine_raam: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.273 DEBUG (MainThread) [custom_components.powercalc.discovery] light.voorraam_woonkamer_kleine_raam: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.273 DEBUG (MainThread) [custom_components.powercalc.discovery] light.voorraam_woonkamer_grote_raam: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.274 DEBUG (MainThread) [custom_components.powercalc.discovery] light.voorraam_woonkamer_grote_raam: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.275 DEBUG (MainThread) [custom_components.powercalc.discovery] light.openhaard_deur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-02-12 10:17:22.275 DEBUG (MainThread) [custom_components.powercalc.discovery] light.openhaard_deur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.276 DEBUG (MainThread) [custom_components.powercalc.discovery] light.openhaard_muur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-02-12 10:17:22.276 DEBUG (MainThread) [custom_components.powercalc.discovery] light.openhaard_muur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.277 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achterraam_woonkamer_muur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.278 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achterraam_woonkamer_muur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.278 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achterraam_woonkamer_deur: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color lamp (LCT015))
2023-02-12 10:17:22.280 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achterraam_woonkamer_deur: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.280 DEBUG (MainThread) [custom_components.powercalc.discovery] light.servieskast_strip: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue lightstrip plus (LST002))
2023-02-12 10:17:22.282 DEBUG (MainThread) [custom_components.powercalc.discovery] light.servieskast_strip: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.283 DEBUG (MainThread) [custom_components.powercalc.discovery] light.servieskast_led_spots: Auto discovered model (manufacturer=innr, model=On#slash#Off plug (SP 120))
2023-02-12 10:17:22.293 DEBUG (MainThread) [custom_components.powercalc.discovery] light.openhaard: Auto discovered model (manufacturer=innr, model=On#slash#Off plug (SP 120))
2023-02-12 10:17:22.294 DEBUG (MainThread) [custom_components.powercalc.discovery] light.tv_ledstrip: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue lightstrip plus (LST002))
2023-02-12 10:17:22.296 DEBUG (MainThread) [custom_components.powercalc.discovery] light.tv_ledstrip: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.296 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nachtkastje_kast: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-02-12 10:17:22.297 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nachtkastje_kast: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.297 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nachtkastje_raam: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color candle (LCT012))
2023-02-12 10:17:22.297 DEBUG (MainThread) [custom_components.powercalc.discovery] light.nachtkastje_raam: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.298 DEBUG (MainThread) [custom_components.powercalc.discovery] light.master_bedroom_ledstrip: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue lightstrip plus (LST002))
2023-02-12 10:17:22.299 DEBUG (MainThread) [custom_components.powercalc.discovery] light.master_bedroom_ledstrip: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.300 DEBUG (MainThread) [custom_components.powercalc.discovery] light.hek_kerst_verlichting: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue Smart plug (LOM001))
2023-02-12 10:17:22.300 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schutting_huis_kerst_verlichting: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue Smart plug (LOM001))
2023-02-12 10:17:22.301 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.apple_tv: Auto discovered model (manufacturer=Apple, model=Apple TV 3)
2023-02-12 10:17:22.301 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.apple_tv: Model not found in library, skipping discovery
2023-02-12 10:17:22.302 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_wasmachine_droger: Auto discovered model (manufacturer=Shelly, model=Shelly EM)
2023-02-12 10:17:22.304 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.shelly_wasmachine_droger: Model not found in library, skipping discovery
2023-02-12 10:17:22.305 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hue_outdoor_motion_sensor_1_motion: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue outdoor motion sensor (SML002))
2023-02-12 10:17:22.307 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hue_outdoor_motion_sensor_1_motion: Model not found in library, skipping discovery
2023-02-12 10:17:22.307 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hue_outdoor_motion_sensor_1_illuminance: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue outdoor motion sensor (SML002))
2023-02-12 10:17:22.309 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hue_outdoor_motion_sensor_1_illuminance: Model not found in library, skipping discovery
2023-02-12 10:17:22.309 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.keuken: Auto discovered model (manufacturer=Shelly, model=Shelly EM)
2023-02-12 10:17:22.310 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.keuken: Model not found in library, skipping discovery
2023-02-12 10:17:22.310 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hikvision_nvr_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.310 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.hikvision_nvr_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.310 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.tv_woonkamer_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.310 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.tv_woonkamer_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.receiver_woonkamer_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.receiver_woonkamer_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.cv_ketel_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.cv_ketel_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.tv_masterbedroom_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.311 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.tv_masterbedroom_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.312 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.computer_werkkamer_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.312 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.computer_werkkamer_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.312 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.312 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.312 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.meterkast_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.313 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.meterkast_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.313 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nas_home_mode: Auto discovered model (manufacturer=Synology, model=DS220+)
2023-02-12 10:17:22.313 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nas_home_mode: Model not found in library, skipping discovery
2023-02-12 10:17:22.314 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nas_power_plug: Auto discovered model (manufacturer=Shelly, model=Shelly Plug S)
2023-02-12 10:17:22.314 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.nas_power_plug: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.314 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.masterbedroomcovercloseswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.314 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.masterbedroomcoversetpositionswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.314 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.masterbedroomcoveropenswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamervoorraamkleincovercloseswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamervoorraamkleincoveropenswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamervoorraamkleincoversetpositionswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamerachterraamcovercloseswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamerachterraamcoveropenswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.woonkamerachterraamcoversetpositionswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.315 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.achterdeurcovercloseswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.316 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.achterdeurcoveropenswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.316 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.achterdeurcoversetpositionswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.316 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pir_voor_led: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.317 DEBUG (MainThread) [custom_components.powercalc.discovery] light.spots_achtertuin: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (LOM007))
2023-02-12 10:17:22.317 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.reloadtahomaintegrationswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.317 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_2: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color spot (LCG002))
2023-02-12 10:17:22.318 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_2: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.319 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_3: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color spot (LCG002))
2023-02-12 10:17:22.320 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_3: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.321 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.home_alarm_arm_away_switch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.321 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.home_alarm_arm_home_switch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.321 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.home_alarm_disarm_switch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.321 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_1: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue color spot (LCG002))
2023-02-12 10:17:22.322 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_1: Already setup with discovery, skipping new discovery
2023-02-12 10:17:22.322 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.closeachterdeurcovertimesensitiveswitch: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.323 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.marantz_nr1200: Auto discovered model (manufacturer=Marantz, model=Marantz NR1200)
2023-02-12 10:17:22.323 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.marantz_nr1200: Model not found in library, skipping discovery
2023-02-12 10:17:22.323 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.marantz_nr1200_2: Auto discovered model (manufacturer=Denon, model=Marantz NR1200)
2023-02-12 10:17:22.326 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.marantz_nr1200_2: Model not found in library, skipping discovery
2023-02-12 10:17:22.327 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_woonkamer: Auto discovered model (manufacturer=Samsung Electronics, model=UE55J6200)
2023-02-12 10:17:22.327 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_woonkamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.327 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_masterbedroom: Auto discovered model (manufacturer=Samsung, model=UE43MU6100)
2023-02-12 10:17:22.328 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_masterbedroom: Model not found in library, skipping discovery
2023-02-12 10:17:22.328 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_woonkamer_dlna: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.329 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.tv_masterbedroom_dlna: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.329 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_woonkamer_crossfade: Auto discovered model (manufacturer=Sonos, model=Play:5)
2023-02-12 10:17:22.335 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_woonkamer_crossfade: Model not found in library, skipping discovery
2023-02-12 10:17:22.336 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_woonkamer_loudness: Auto discovered model (manufacturer=Sonos, model=Play:5)
2023-02-12 10:17:22.336 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.sonos_play_5_woonkamer_loudness: Model not found in library, skipping discovery
2023-02-12 10:17:22.336 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.sonos_play_5_woonkamer: Auto discovered model (manufacturer=Sonos, model=Play:5)
2023-02-12 10:17:22.336 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.sonos_play_5_woonkamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_voorraam: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_voorkant: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_westkant: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_dakkapel_achter: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_achterraam_en_deur: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.337 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.use_slow_speed_covers_achterkant: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.338 DEBUG (MainThread) [custom_components.powercalc.discovery] light.woonkamer_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.339 DEBUG (MainThread) [custom_components.powercalc.discovery] light.woonkamer_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.339 DEBUG (MainThread) [custom_components.powercalc.discovery] light.woonkamer_speciaal_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.340 DEBUG (MainThread) [custom_components.powercalc.discovery] light.woonkamer_speciaal_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.340 DEBUG (MainThread) [custom_components.powercalc.discovery] light.masterbedroom_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.341 DEBUG (MainThread) [custom_components.powercalc.discovery] light.masterbedroom_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.341 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kerstverlichting_buiten_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.342 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kerstverlichting_buiten_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.342 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.343 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.343 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achtertuin_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.344 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achtertuin_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.344 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_hue_kamer: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Room)
2023-02-12 10:17:22.345 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage_hue_kamer: Model not found in library, skipping discovery
2023-02-12 10:17:22.346 DEBUG (MainThread) [custom_components.powercalc.discovery] light.woonkamer: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.346 DEBUG (MainThread) [custom_components.powercalc.discovery] light.masterbedroom: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.346 DEBUG (MainThread) [custom_components.powercalc.discovery] light.luifel_garage: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.346 DEBUG (MainThread) [custom_components.powercalc.discovery] light.gang_garage: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.347 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kerstverlichting_buiten: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.347 DEBUG (MainThread) [custom_components.powercalc.discovery] light.achtertuin: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.347 DEBUG (MainThread) [custom_components.powercalc.discovery] light.tuin_gang_luifel: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-12 10:17:22.347 DEBUG (MainThread) [custom_components.powercalc.discovery] light.tuin_gang_luifel_hue_zone: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Zone)
2023-02-12 10:17:22.348 DEBUG (MainThread) [custom_components.powercalc.discovery] light.tuin_gang_luifel_hue_zone: Model not found in library, skipping discovery
2023-02-12 10:17:22.348 DEBUG (MainThread) [custom_components.powercalc.discovery] light.hoofdverlichting_masterbedroom: Auto discovered model (manufacturer=SONOFF, model=On#slash#Off light (01MINIZB))
2023-02-12 10:17:22.351 DEBUG (MainThread) [custom_components.powercalc.discovery] light.hoofdverlichting_masterbedroom: Model not found in library, skipping discovery
2023-02-12 10:17:22.352 DEBUG (MainThread) [custom_components.powercalc.discovery] Done auto discovering entities
2023-02-12 10:17:22.352 INFO (MainThread) [homeassistant.setup] Setup of domain powercalc took 0.2 seconds

@bramstroker
Copy link
Owner

the relevant entity is light.spots_achtertuin?
You did add it to the integration panel when discovered?

@bramstroker bramstroker added question Further information is requested autodiscovery labels Feb 12, 2023
@mstuij
Copy link
Author

mstuij commented Feb 12, 2023

Yes it is the light.spots_achtertuin.

All my Hue lights came available in the integration page. I had confirmed all of them. But this Hue smart plug came never available at the integration page.

I have also a few days ago removed everything from Powercalc (reboot multiple times) and re-added it again. And the same issue exits. The plug is not available.

When I choose for add integration and I choose for Powercalc I don't get the switch as an option:

image

I have also plugged in at this moment another 2 Hue plugs used for christmas lights and those are also discovered but not added as an option:

2023-02-12 12:09:12.303 DEBUG (MainThread) [custom_components.powercalc.discovery] light.hek_kerst_verlichting: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue Smart plug (LOM001))
2023-02-12 12:09:12.304 DEBUG (MainThread) [custom_components.powercalc.discovery] light.schutting_huis_kerst_verlichting: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue Smart plug (LOM001))

@bramstroker
Copy link
Owner

I walked a littlebit through the code and I know what the problem is.
Powercalc is expecting the entity to be a switch entity not a light. The powercalc profile is made to work with a switch entity, so when it is not it will skip.
Is this provided by the Hue integration like this?

@mstuij
Copy link
Author

mstuij commented Feb 12, 2023

That is right. I have converted the switch to a light because in my case it is always a light.

see this: https://www.home-assistant.io/integrations/switch_as_x/

@bramstroker
Copy link
Owner

hmm yes I see, this is not possible / supported yet. I will see if I can make some changes to support this.

@mstuij
Copy link
Author

mstuij commented Feb 12, 2023

Okay thanks

@bramstroker
Copy link
Owner

Will be fixed with #1494

@bramstroker
Copy link
Owner

Has been released in v1.3.5. Are you able to check if it's also working for you?

@mstuij
Copy link
Author

mstuij commented Feb 13, 2023

I have installed the update. But unfortunately the smart plugs were not added and also not available in the integration page.

2023-02-13 20:11:15.213 DEBUG (MainThread) [custom_components.powercalc.discovery] light.master_bedroom_ledstrip: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue lightstrip plus (LST002))
2023-02-13 20:11:15.216 DEBUG (MainThread) [custom_components.powercalc.discovery] light.master_bedroom_ledstrip: Already setup with discovery, skipping new discovery


....
....

2023-02-13 20:11:15.233 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.pir_voor_led: Cannot autodiscover model, manufacturer or model unknown from device registry
2023-02-13 20:11:15.234 DEBUG (MainThread) [custom_components.powercalc.discovery] light.spots_achtertuin: Auto discovered model (manufacturer=Signify Netherlands B.V., model=Hue smart plug (LOM007))
2023-02-13 20:11:15.234 DEBUG (MainThread) [custom_components.powercalc.discovery] switch.reloadtahomaintegrationswitch: Cannot autodiscover model, manufacturer or model unknown from device registry

@bramstroker
Copy link
Owner

Could you have a look into config/.storage/core.entity_registry and search for light.spots_achtertuin, and share the JSON, maybe I am able to find out what is wrong when looking at that data? Otherwise I might need to add extra debug logging in powercalc source code.

@mstuij
Copy link
Author

mstuij commented Feb 14, 2023

      {
        "aliases": [],
        "area_id": null,
        "capabilities": {
          "supported_color_modes": []
        },
        "config_entry_id": "4ad35d8163c9a159d08ff88b681c9913",
        "device_class": null,
        "device_id": "3e5313b5ef4392fb236b555e5cd9d7e8",
        "disabled_by": null,
        "entity_category": null,
        "entity_id": "light.spots_achtertuin",
        "hidden_by": null,
        "icon": null,
        "id": "977ccda615742f14c60c4a93bdd379a0",
        "has_entity_name": false,
        "name": null,
        "options": {},
        "original_device_class": null,
        "original_icon": null,
        "original_name": "Spots achtertuin",
        "platform": "hue",
        "supported_features": 0,
        "translation_key": null,
        "unique_id": "3035c2a8-eaf2-4ad7-9137-190d620ac6b2",
        "unit_of_measurement": null
      },

@bramstroker
Copy link
Owner

That's not a light created with switch_as_x helper as you previously mentioned. So the fix I created won't work for this case.
Seems the hue integration directly creates this as a light entity. Does it always create a light entity or can it also be created as a switch? In the latter case how does it know? Can you define the connected appliance type in the Hue app somehow?

@mstuij
Copy link
Author

mstuij commented Feb 18, 2023

I don't know it exactly anymore, but according to me you have no different option when adding the switch to the Hue bridge.

You can't define the connected appliance type in the Hue app only choose some icon and change the name.

image

image

image

image

image

image

@bramstroker
Copy link
Owner

Which entity id's does the Hek and Schutting have in Home Assistant?

@mstuij
Copy link
Author

mstuij commented Feb 18, 2023

image

image

@bramstroker
Copy link
Owner

Ok thanks, will think about this some more. Seems Hue integration always creates a light for the LOM*** devices.

@bramstroker
Copy link
Owner

Probably fixed with #1518. Will release new version today. Hopefully now the device will be discovered.

@mstuij
Copy link
Author

mstuij commented Feb 18, 2023

Okay thanks!

I will install it when it is available and let you know the results.

@mstuij
Copy link
Author

mstuij commented Feb 18, 2023

I can confirm that the problem is solved.

Even the innr plugs are recognized.

Many thanks!

E3084425-2C71-4EDE-A510-C013F28FE869

@bramstroker
Copy link
Owner

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autodiscovery question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants