mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Disable fade #626
This commit is contained in:
parent
b1716fbca1
commit
62f567773d
@ -275,7 +275,8 @@ bool Esp32Device::get_backlight_invert()
|
||||
void Esp32Device::set_backlight_level(uint8_t level)
|
||||
{
|
||||
_backlight_level = level;
|
||||
update_backlight(true);
|
||||
// update_backlight(true);
|
||||
update_backlight(false);
|
||||
}
|
||||
|
||||
uint8_t Esp32Device::get_backlight_level()
|
||||
@ -286,7 +287,8 @@ uint8_t Esp32Device::get_backlight_level()
|
||||
void Esp32Device::set_backlight_power(bool power)
|
||||
{
|
||||
_backlight_power = power;
|
||||
update_backlight(true);
|
||||
// update_backlight(true);
|
||||
update_backlight(false);
|
||||
}
|
||||
|
||||
bool Esp32Device::get_backlight_power()
|
||||
|
Loading…
x
Reference in New Issue
Block a user