From 3a6f872b63ef5b0055a921be3f6c6d75a7ceb3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Nenz=C3=A9n?= Date: Tue, 5 Apr 2022 06:47:58 +0200 Subject: [PATCH] Update api.py (#28) --- custom_components/wellbeing/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/wellbeing/api.py b/custom_components/wellbeing/api.py index 1a22fa4..631ed67 100644 --- a/custom_components/wellbeing/api.py +++ b/custom_components/wellbeing/api.py @@ -244,7 +244,7 @@ class Appliances: def __init__(self, appliances) -> None: self.appliances = appliances - def get_appliance(self, pnc_id) -> Appliance | None: + def get_appliance(self, pnc_id): return self.appliances.get(pnc_id, None)