Bas Nijholt

Results 382 comments of Bas Nijholt

Does this sequence happen in Home Assistant: 1. `light.turn_on(entity_id=some_light)` 2. `light.turn_on(entity_id=some_light, brightness=some_value_your_wife_wants)` If so, I don't understand why that doesn't already work... Or are you using something external from Home...

> 3. Wife changes level of light from wall switch Does this communicate via Home Assistant or some external app/device?

That sounds like a bug, could you perhaps turn on logging and share the logs after the problem occurs? See https://github.com/basnijholt/adaptive-lighting#having-problems

@gvssr, could you elaborate on that please? In both my personal setup *and* in the tests the `adaptive_lighting.set_manual_control` seems to work just fine. Perhaps you are not using it correctly?

Currently, that is not possible. You could have two switches, one with `prefer_rgb_color: true` and the other with `prefer_rgb_color: false` then toggle the switch when sleep_mode is on.

Would it be possible to enable debugging logging with: ``` logger: default: warning logs: custom_components.adaptive_lighting: debug ``` and post the log after it occurred? I have a suspicion as to...

OK great! I already anticipated that this might happen, you can see my comment in the code here https://github.com/basnijholt/adaptive-lighting/blob/466c4b62f37192beab43bfb997cb3fc8c40a7401/custom_components/adaptive_lighting/switch.py#L1328-L1333

I see that this happened: - at 20:19:36 `light.turn_off` called - at 20:20:09, the light reports it's on after polling, so AL proceeds to adapt it - at 20:20:17, something/someone...

I switched to ZHA and I am now seeing these problems too. Unfortunately, it doesn't seem like there is a lot to do. I will probably switch back to deCONZ......

I have all my devices listed here https://github.com/basnijholt/home-assistant-config/#my-devices