mirror of
https://github.com/arendst/Tasmota.git
synced 2026-03-22 23:17:24 +01:00
Fix Alexa Hue shutter detection
Fix Alexa Hue shutter detection (#11517)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user