mirror of https://github.com/arendst/Tasmota.git
Fix Alexa Hue shutter detection
Fix Alexa Hue shutter detection (#11517)
This commit is contained in:
parent
34a41ebbc9
commit
070a3a5ca7
|
@ -529,8 +529,8 @@ void ShutterUpdatePosition(void)
|
|||
}
|
||||
}
|
||||
|
||||
bool ShutterState(uint32_t device)
|
||||
{
|
||||
bool ShutterState(uint32_t device) {
|
||||
if (device > 4) { return false; }
|
||||
device--;
|
||||
device &= 3;
|
||||
return (Settings.flag3.shutter_mode && // SetOption80 - Enable shutter support
|
||||
|
|
Loading…
Reference in New Issue