Skip to content

Commit 5a4b4a7

Browse files
Initial Commit
1 parent 286be63 commit 5a4b4a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/RoomControl/MagicHueAPI.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ def get_status(self):
304304
"white": self.light.w,
305305
"cold_white": self.light.cw,
306306
"white_enabled": self.light.is_white,
307-
"mode": self.light.mode._status_text() if not self.is_auto else "AUTOMATIC",
307+
"mode": self.light.mode._status_text(),
308+
"control_type": "MANUAL" if not self.is_auto else "AUTOMATIC",
308309
}
309310
return status
310311
except magichue.exceptions.MagicHueAPIError as e:

0 commit comments

Comments
 (0)