Update ge_fridge.py

Fixed drawer open status
This commit is contained in:
elwing00 2021-10-06 22:23:52 -04:00 committed by GitHub
parent c1e01b79a2
commit 438d120700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class GeFridge(GeAbstractFridge):
if door_left and door_left != ErdDoorStatus.NA:
data["left_door"] = door_status.fridge_left.name.title()
if drawer and drawer != ErdDoorStatus.NA:
data["drawer"] = door_status.fridge_left.name.title()
data["drawer"] = door_status.drawer.name.title()
if data:
all_closed = all(v == "Closed" for v in data.values())