core icon indicating copy to clipboard operation
core copied to clipboard

Wiz lights not accepting brightness changes via templated or brightness_step service calls

Open sparkydave1981 opened this issue 2 years ago • 7 comments

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

sparkydave1981 avatar May 29 '23 04:05 sparkydave1981

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.

(message by CodeOwnersMention)


wiz documentation wiz source (message by IssueLinks)

home-assistant[bot] avatar May 29 '23 04:05 home-assistant[bot]

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??

sparkydave1981 avatar Aug 30 '23 12:08 sparkydave1981

Does the brightness_step_pct property work? That accepts negative values.

blalor avatar Sep 17 '23 11:09 blalor

Does the brightness_step_pct property work?

Nope

sparkydave1981 avatar Sep 19 '23 03:09 sparkydave1981

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.

mwcarroll avatar Sep 27 '23 13:09 mwcarroll

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.