Wiz Integration - Now Failing

Hi Everyone,

I’m only a week into HA and whilst everything seemed to have gone pretty smoothly, it’s now come to a crashing halt.

One of the first integrations I’d installed was the Wiz Lighting installation (https://github.com/sbidy/wiz_light) which went surprisingly smoothly for me first time around.

Kudos to @angadsingh & @Sbidy by the way, I was blown away at how well the integration originally worked.

Then…my router rebooted and I had stupidly failed to assign static IP’s to my Wiz lights…which caused everything to go pear-shaped.

I tinkered with this for ages until I finally gave up, restored an old HA snapshot and attempted to reinstall the Wiz integration.

I don’t know what I’m doing wrong but I continually get an error in the logs as follows:

## Log Details (ERROR)

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:326
Integration: Hass.io ([documentation](https://www.home-assistant.io/hassio), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+hassio%22))
First occurred: 6:45:50 (4 occurrences)
Last logged: 7:04:52

* Error loading /config/configuration.yaml: while parsing a block collection in "/config/configuration.yaml", line 14, column 3 expected <block end>, but found '?' in "/config/configuration.yaml", line 15, column 3
* Platform error light.wiz_light 1 - Integration 'wiz_light 1' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found.
* Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found. Platform error light.wiz_light - Integration 'wiz_light' not found.

My config.yaml is here:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:


# Text to speech
tts:
  - platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

light:
  - platform: wiz_light
    name: wiz1
    host: 10.0.0.10
  - platform: wiz_light
    name: wiz2
    host: 10.0.0.9
  - platform: wiz_light
    name: wiz3
    host: 10.0.0.8
  - platform: wiz_light
    name: wiz4
    host: 10.0.0.6
  - platform: wiz_light
    name: wiz5
    host: 10.0.0.5

Any advice that can be offered would be greatly appreciated.

Before anyone wastes any time on this, I removed it again and started the Wiz integration from scratch, all working now.

Don’t forget to make dhcp reservations for your bulbs, so it does not happen again.

2 Likes

My modem does not have the option to assign static ips and obviously, I can’t hardwire it into the bulbs.

Any chance we can get the systenm to refresh these, like the phone app (and google home) does?

im having issues with this integration from the start. As soon as I add the files to the custom components folder and add the config like yours… its then removes all entities with the light. prefix.

any way you could share how you installed this from scratch? Thanks!

Hi GuitarSkater,

So sorry that this is sooooo late, had been busy with work and therefore off HA.

Did you manage to sort this out or do you still need info?

Thank you for the reply! Totally understand being busy. I haven’t tried since my previous post, never got it working.

Any help you can provide I will gladly take.

I installed using HACS and no need to add anything to config.yaml

1 Like

is there a HAC for adding the Wiz lights to Home assistant?

WIZ integration started in the HACS store and was move to the main integrations inside HA. You originally need to configure each light in yaml.

If you add the new integration through the HA gui you have to add each bulb. Give it a name and it’s ip address. I still have them defined in yaml and works without a problem.

I can’t seem to find the integration within HA. Core 2021.6.5 doesn’t seem to show it. And it’s not listed as an integration on the website. What am I missing? (searching for ‘wiz’ )

1 Like

First you have to go to HACS and install the WIZ integration and then it will appear in the integrations where you select it.