From 438d120700afe44e3a49c0cf09e84df957326cb1 Mon Sep 17 00:00:00 2001 From: elwing00 <56235263+elwing00@users.noreply.github.com> Date: Wed, 6 Oct 2021 22:23:52 -0400 Subject: [PATCH] Update ge_fridge.py Fixed drawer open status --- custom_components/ge_home/entities/fridge/ge_fridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ge_home/entities/fridge/ge_fridge.py b/custom_components/ge_home/entities/fridge/ge_fridge.py index 56c0c09..ef9e708 100644 --- a/custom_components/ge_home/entities/fridge/ge_fridge.py +++ b/custom_components/ge_home/entities/fridge/ge_fridge.py @@ -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())