sbidy / wiz_light

A WiZ Light integration for Home Assistant
MIT License
341 stars 68 forks source link

Unable to edit entities from UI #192

Closed chansearrington closed 2 years ago

chansearrington commented 2 years ago

When viewing the entity in Home Assistant front end,

I'm unable to edit the entity.

I'm just trying to rename the entity. (see image)

image

sbidy commented 2 years ago

Do you add the entry via YAML or UI?

shacco commented 2 years ago

I cant add wiz light to scenes anymore

DrewGilbey commented 2 years ago

I have the same issue while trying to make changes. All lights added via Configurations, Integrations, + integration, search WIZ, add via IP address.

I added all my lights like this. I made changed to IP assignments. In order to make changed I deleted the entities from the wiz inaugurations but they are stores somewhere still. It won't let me re add the lights with different IP. When I look at the entities list I still find the deleted lights and they are labeled read-only.

Screen Shot 2021-11-09 at 12 00 44 PM

sbidy commented 2 years ago

If tested the scene feature with the integration, and it worked as expected. In case of IP address changes (expired leastimes) there can reside some "zombie" entries.

  1. Please delete all bulbs (devices and entries)
  2. Ensure that you are using the latest version of the wiz_light integration
  3. Restart HASS - Keep in mind that all bulbs should be connected to the power while restarting HASS
  4. Re-Add the bulbs with the DNS name wiz-<last 6 digits from the MAC> - you can find the MAC in the WiZ app by hitting in the settings on the "Model" text. This will prevent an issue in case of an IP address change.
  5. The bulbs should be added as device and entry

Hope this helps....

spencerthayer commented 2 years ago

@sbidy can you provide an example of this for the yaml?

sbidy commented 2 years ago

I learned that the YAML will be deprecated in the future and should not be used anymore. Because of that, not all "new" or current features will be supported with newer HASS versions.

If you have issues with the entries, devices, scenes, or automations, please consider fist to re-add the bulb with the UI Wizard. This can be a hassle if you have multiple bulbs. We are working (in the official PR for HASS core) currently on an auto discovery solution.

As I mentioned above, you should add the bulbs with the DNS name. But this prerequisite, a working DNS resolution. I added my bubs with wiz-AABBCC via UI Wizard.

spencerthayer commented 2 years ago

Tried reinstalling all of my lights using the wiz underscore last six characters of the mac address convention. In the example below the entity ID is _wizd336f6 which matches the name of the light with my router. Still I am getting the _2 error. The Hass version info is core-2021.12.0.

Screen Shot 2021-12-12 at 3 09 13 PM
bdraco commented 2 years ago

This can be closed as its implemented in the core version