adaptive-lighting
adaptive-lighting copied to clipboard
Lights controlled as group are not marked as manually controlled
Home Assistant Adaptive Lighting Issue Template
Bug Reports
If you need help with using or configuring Adaptive Lighting, please open a Q&A discussion thread here instead.
Before submitting a bug report, please follow these troubleshooting steps:
Please confirm that you have completed the following steps:
- [x] I have updated to the latest Adaptive Lighting version available in HACS.
- [x] I have reviewed the Troubleshooting Section in the README.
- [x] (If using Zigbee2MQTT) I have read the Zigbee2MQTT troubleshooting guide in the README.
- [x] I have checked the V2 Roadmap and open issues to ensure my issue isn't a duplicate.
Required information for bug reports:
Please include the following information in your issue.
Issues missing this information may not be addressed.
- Debug logs captured while the issue occurred. See here for instructions on enabling debug logging:
adaptive_lighting:
- name: "Bedroom"
lights: [light.bedroom_ambient, light.bedroom_ambient_2]
prefer_rgb_color: true
initial_transition: 10
transition: 0
sunrise_time: "07:30:00"
sunset_time: "20:00:00"
- Describe the bug and how to reproduce it:
AL stoped marking lights as manually controlled when light is controlled by a group (HA group, not zigbee).
Following code tha reacts to my pilot:
- alias: Ikea remote
id: "1499"
description: ""
use_blueprint:
path: ikea_remote.yaml
input:
remote: sensor.pilot_1_action
button_on:
- type: brightness_increase
device_id: e0f41cbd8d042797468be62c40b663cf
entity_id: light.automatic
domain: light
button_off:
- device_id: e0f41cbd8d042797468be62c40b663cf
entity_id: light.bedroom_ambient
type: brightness_decrease
domain: light
button_left_click:
- service: input_boolean.toggle
entity_id: input_boolean.night_enabled
- Works: When buttton off is presed and a brightness is decreases only of a single light.
- Doesn't work: When button on is pressed and brightness is increase for a group of lights (they go back to AL control after few seconds).
This is referenced in state of AL when manual control contains only lights changed directly, but does not include lights of group.
-
Steps to reproduce the behavior:
-
Add light (controlled by AL) to group
-
Set brightness to group manually. Light will come back to AL brightness after a while
I'm sure this was working before, but not sure in which version.
- light.automatic is a group of lights
- light.bedroom_ambient is single light
For clarification
Now we seem to have the opposite problem for hue groups. If you simply turn on a light entity which represents a group of hue lights (using the official hue integration), all the individual lights end up show up under the "manual_control" attribute of the switch.
I'm having mixed results with this. In my living room, it seems like light.living_room
has no problem whatsoever listing out the lights in the group and then applying them under manual control.
In my office, I can't get any of them to be manual control, regardless of whether it is a group or not.