mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Wrap Light.devgrp_no_channels_out in #ifdef USE_DEVICE_GROUPS
This commit is contained in:
parent
d5216091e7
commit
7a9e539f1c
@ -620,9 +620,13 @@ void PWMDimmerHandleButton(void)
|
|||||||
else {
|
else {
|
||||||
#endif // USE_PWM_DIMMER_REMOTE
|
#endif // USE_PWM_DIMMER_REMOTE
|
||||||
light_state.setBri(power_on_bri);
|
light_state.setBri(power_on_bri);
|
||||||
|
#ifdef USE_DEVICE_GROUPS
|
||||||
Light.devgrp_no_channels_out = true;
|
Light.devgrp_no_channels_out = true;
|
||||||
|
#endif // USE_DEVICE_GROUPS
|
||||||
ExecuteCommandPower(1, POWER_TOGGLE, SRC_RETRY);
|
ExecuteCommandPower(1, POWER_TOGGLE, SRC_RETRY);
|
||||||
|
#ifdef USE_DEVICE_GROUPS
|
||||||
Light.devgrp_no_channels_out = false;
|
Light.devgrp_no_channels_out = false;
|
||||||
|
#endif // USE_DEVICE_GROUPS
|
||||||
#ifdef USE_PWM_DIMMER_REMOTE
|
#ifdef USE_PWM_DIMMER_REMOTE
|
||||||
}
|
}
|
||||||
#endif // USE_PWM_DIMMER_REMOTE
|
#endif // USE_PWM_DIMMER_REMOTE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user