04-20-2024 06:49 AM
Hi, I have scripted an automation to make my fish bowl light decrease in relative brightness dependant on the status of another device. However, the automation seems to ignore the negative (-) sign and hence, cause the light to brighten. My script is below. How do i make the automation consider the value as negative?
actions:
- type: device.command.BrightnessRelative
brightnessRelativePercent: -1
devices: Fish Bowl Light - Aquarium
Answered! Go to the Recommended Answer.
04-24-2024 01:43 PM
Hello @jabirf1 ,
Thank you for reaching out to us with your request. We were able to reproduce your issue at our end and I would recommend submitting a feedback from the Automation Script Editor. Also, please include a screenshot of the editor that shows the script.
You can also open a feature request in this regard on the public issue tracker.
04-24-2024 01:43 PM
Hello @jabirf1 ,
Thank you for reaching out to us with your request. We were able to reproduce your issue at our end and I would recommend submitting a feedback from the Automation Script Editor. Also, please include a screenshot of the editor that shows the script.
You can also open a feature request in this regard on the public issue tracker.
06-18-2024 10:00 PM
Is there any status on this bug? I’m experiencing the same issue.
06-18-2024 11:01 PM
The status remains same. Tech support just informed me that it is not possible to have a dimming function with the relative brightness command. As you mentioned, it seems to be a bug more than anything else, and it should an easy straight forward fix, as it clearly works well for positive integers, and only the bug causing the code to ignore (-) sign needs to be address. But, they do not even seem to be interested in looking into it.
01-03-2025 01:44 AM
Yes, this issue is of interest for me as well.