core
core copied to clipboard
Wiz lights not accepting brightness changes via templated or brightness_step service calls
The problem
When sending new brightness values to Wiz vintage style globes via templated service calls, the brightness does not change. (the exact same templated service call works perfectly on other lights, tested on WLED)
Sending a set value for brightness works fine
Also, using a service call with brightness_step does not work with these Wiz lights.
What version of Home Assistant Core has the issue?
2023.5.3
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
No errors are logged
Example YAML snippet
Sending fixed values for brightness to the globes works fine:
service: light.turn_on
data:
entity_id: light.daves_bedside_lamp
brightness: 126
However when using a template for the brightness, the service call appears to be completely ignored. No change occurs and no error is logged.
service: light.turn_on
data:
entity_id: light.daves_bedside_lamp
brightness: "{{ (state_attr('light.daves_bedside_lamp', 'brightness') -1) }}"
I am trying to use this service call because using 'transition' in the service call also does not work.
### Anything in the logs that might be useful for us?
```txt
Nil errors logged
Additional information
No response
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 closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign wizRemoves the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
wiz documentation wiz source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Anyone able to provide any assistance with this??
Does the brightness_step_pct property work? That accepts negative values.
Does the
brightness_step_pctproperty work?
Nope
I'm experiencing the same issue; please let me know if there are any logs or flow diagram information I can provide that may be beneficial.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.