GladysAssistant / Gladys

A privacy-first, open-source home assistant
https://gladysassistant.com
Apache License 2.0
2.67k stars 282 forks source link

Add debounce on thermostat to avoid sending 9 times the new value when changing fast #1966

Closed Pierre-Gilles closed 6 months ago

Pierre-Gilles commented 10 months ago

https://community.gladysassistant.com/t/bug-amelioration-temperature-de-consigne/8586

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Pierre-Gilles commented 6 months ago

It seems there is already a debounce : https://github.com/GladysAssistant/Gladys/blob/master/front/src/components/boxs/device-in-room/device-features/ThermostatDeviceFeature.jsx#L17