adaptive-lighting
adaptive-lighting copied to clipboard
Middle of Day but lamps stay dark
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:
2024-01-04 12:51:59.976 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] adaptLightDinner: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.lampkitchenr', 'transition': 45.0, 'brightness': 3, 'color_temp_kelvin': 2000} with context.id='01HKA51RQ0:al:MFSG:ntrv:05'
2024-01-04 12:44:12.292 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] adaptLightDinner: Setting up with '['light.lampdinner', 'light.lampkitchenl', 'light.lampkitchenm', 'light.lampkitchenr']', config_entry.data: '{'name': 'adaptLightDinner'}', config_entry.options: '{'lights': ['light.lampdinner', 'light.lampkitchenl', 'light.lampkitchenm', 'light.lampkitchenr'], 'interval': 90, 'transition': 45.0, 'initial_transition': 1.0, 'min_brightness': 1, 'max_brightness': 100, 'min_color_temp': 1500, 'max_color_temp': 5000, 'prefer_rgb_color': False, 'sleep_brightness': 1, 'sleep_rgb_or_color_temp': 'color_temp', 'sleep_color_temp': 1000, 'sleep_rgb_color': [255, 56, 0], 'sleep_transition': 1.0, 'transition_until_sleep': False, 'sunrise_time': 'None', 'min_sunrise_time': 'None', 'max_sunrise_time': 'None', 'sunrise_offset': 0, 'sunset_time': 'None', 'min_sunset_time': 'None', 'max_sunset_time': 'None', 'sunset_offset': 0, 'brightness_mode': 'default', 'brightness_mode_time_dark': 900, 'brightness_mode_time_light': 3600, 'take_over_control': True, 'detect_non_ha_changes': False, 'autoreset_control_seconds': 60, 'only_once': False, 'adapt_only_on_bare_turn_on': False, 'separate_turn_on_commands': False, 'send_split_delay': 0, 'adapt_delay': 0.0, 'skip_redundant_commands': False, 'intercept': True, 'multi_light_intercept': True, 'include_config_in_attributes': False}', converted to '{'lights': ['light.lampdinner', 'light.lampkitchenl', 'light.lampkitchenm', 'light.lampkitchenr'], 'interval': datetime.timedelta(seconds=90), 'transition': 45.0, 'initial_transition': 1.0, 'min_brightness': 1, 'max_brightness': 100, 'min_color_temp': 1500, 'max_color_temp': 5000, 'prefer_rgb_color': False, 'sleep_brightness': 1, 'sleep_rgb_or_color_temp': 'color_temp', 'sleep_color_temp': 1000, 'sleep_rgb_color': [255, 56, 0], 'sleep_transition': 1.0, 'transition_until_sleep': False, 'sunrise_time': None, 'min_sunrise_time': None, 'max_sunrise_time': None, 'sunrise_offset': datetime.timedelta(0), 'sunset_time': None, 'min_sunset_time': None, 'max_sunset_time': None, 'sunset_offset': datetime.timedelta(0), 'brightness_mode': 'default', 'brightness_mode_time_dark': datetime.timedelta(seconds=900), 'brightness_mode_time_light': datetime.timedelta(seconds=3600), 'take_over_control': True, 'detect_non_ha_changes': False, 'autoreset_control_seconds': 60, 'only_once': False, 'adapt_only_on_bare_turn_on': False, 'separate_turn_on_commands': False, 'send_split_delay': 0, 'adapt_delay': 0.0, 'skip_redundant_commands': False, 'intercept': True, 'multi_light_intercept': True, 'include_config_in_attributes': False, 'name': 'adaptLightDinner'}'.
- Describe the bug and how to reproduce it:
its in a middle of day and the lamps stay dark. AL actually updates brightness of the lamps, but only with 3% brightness. Configuration is 0 to 100% brightness.
AL was working fine couple of days ago - so nothing changed except some core updated from HA.
unfortunately AL does not share (!?) internal calculation data as sensors - so hard to track internal state of AL.
- Steps to reproduce the behavior:
Some times my lights does the same, they turn on only at 1%, when should be higher
Did anyone find a solution for that. I removed everything and reinstalled. Worked for a day, but reverted back to turning light to 1%.
I have the same issue since today without doing any updates.
I only have the issue if I set a min sunset time or a max sunset time other than None.
Setting min and max sunset times to None is a workaround for me for now.
I have the same issue since today without doing any updates.
I only have the issue if I set a
min sunsettime or amax sunset timeother thanNone.Setting
minandmaxsunset times toNoneis a workaround for me for now.
Got mine define to none, still have the problem randomly.