Dim to previous state #19
Replies: 5 comments 5 replies
-
Hey, |
Beta Was this translation helpful? Give feedback.
-
@LTKingChaos can you do me a favor and test some small change? I won't have an physical access to my xComfort devices in near future and can't enable memory function on dimmer actuators to test if small change in the code addresses your need. Here is updated code for light.py: Please upload it to your HA (/config/custom_components/xcomfort/light.py, restart HA and test if memory function works now. |
Beta Was this translation helpful? Give feedback.
-
Hmm...does memory function works well when you turn on/off light with Eaton app or from SHC web interface? |
Beta Was this translation helpful? Give feedback.
-
Then please test again this change in the code: With this change HA will send exactly the same command to dimmer as the app/web interface. Likely the issue with reporting correct state will stay, but at least you should be able to use the memory function |
Beta Was this translation helpful? Give feedback.
-
Can you try new updated code? In this change the integration should work with memory and allow changing brightness. However the light in HA won't be updated immediately after action. It will be updated only when new status for devices is refreshed. |
Beta Was this translation helpful? Give feedback.
-
Hi!
Any way I can dim my lights to previous state? All my lights are dimmed to 100% when using HA no matter what state they wore in before
Beta Was this translation helpful? Give feedback.
All reactions