home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.65k stars 30.41k forks source link

dual_head Feature for WiZ Integration is glitching #121403

Open fealXX opened 3 months ago

fealXX commented 3 months ago

The problem

Even though the Fixture has two Lights and the diagnostics file reports the feature as available on the device, the "Dual Head Ratio" Entity is always unavailable. Enabling just one of the Lightzones through the WiZ App makes the light jump between on/off state in HA every few seconds (without the Fixture actually turning on or off).

image

What version of Home Assistant Core has the issue?

core-2024.7.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

WiZ

Link to integration documentation on our website

https://www.home-assistant.io/integrations/wiz/

Diagnostics information

config_entry-wiz-c17c6a1f992c8425977550282e796465.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Device Info from the WiZ-App: Squire 127403, FW-Version 1.32.0

home-assistant[bot] commented 3 months ago

Hey there @sbidy, mind taking a look at this issue as it has been labeled with an integration (wiz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `wiz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign wiz` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


wiz documentation wiz source (message by IssueLinks)

filipkemuel commented 2 months ago

The issue is that the Wiz API for the dualhead light has changed.

"Dual Head Ratio" has been deprecated.

Instead the light now has two separate "Zones" ('Zone A' and 'Zone B') that woks as individual lights that one can set color, intensity and tempararure on, or set individual scenes on.

There is now also an "All" zone that acts at a seperate light but makes the changes to both zones.

This is very different to the old API that only showed one light (like the "All" zone) but then had a dualhead-ratio that would modify the brightness ratio between them.

Quickstep3 commented 1 month ago

I'm also getting the HA events logged (light on + light off) occurring frequently - with no actual change too the lights being triggered or happening - on single lights that are grouped together in the Wiz app to act as a single set. Presumably it uses the same method as lights on a single fixture with multiple bulbs. Any chance this will be fixed in an upcoming HA update as the logs are very "noisy" as a result.

image

HA version 2024.8.2 HA OS 13.1