Skip to content

Commit

Permalink
Update api.py (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohNan authored Apr 5, 2022
1 parent 710ff8f commit 3a6f872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wellbeing/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 3a6f872

Please sign in to comment.