mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Update sonoff.ino
This commit is contained in:
parent
5c8d0b32d8
commit
3d82ca212c
@ -1137,7 +1137,7 @@ boolean send_button_power(byte key, byte device, byte state)
|
|||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
#ifdef USE_KNX
|
#ifdef USE_KNX
|
||||||
knx_send_button_power(key, device, state);
|
KNX_Send_Button_Power(key, device, state);
|
||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -1190,7 +1190,7 @@ void ExecuteCommandPower(byte device, byte state)
|
|||||||
DomoticzUpdatePowerState(device);
|
DomoticzUpdatePowerState(device);
|
||||||
#endif // USE_DOMOTICZ
|
#endif // USE_DOMOTICZ
|
||||||
#ifdef USE_KNX
|
#ifdef USE_KNX
|
||||||
KNXUpdatePowerState(device, power);
|
KNX_Update_Power_State(device, power);
|
||||||
#endif // USE_KNX
|
#endif // USE_KNX
|
||||||
if (device <= MAX_PULSETIMERS) {
|
if (device <= MAX_PULSETIMERS) {
|
||||||
// pulse_timer[(device -1)] = (power & mask) ? Settings.pulse_timer[(device -1)] : 0;
|
// pulse_timer[(device -1)] = (power & mask) ? Settings.pulse_timer[(device -1)] : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user