Skip to content

Commit

Permalink
Further fixes for missing capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
rospogrigio committed Dec 9, 2021
1 parent 3806466 commit 5f05c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/daikin_residential/daikin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,14 @@ def support_outside_temperature(self):
@property
def outside_temperature(self):
"""Return current outside temperature."""
if not self.support_outside_temperature():
if not self.support_outside_temperature:
return None
return float(self.getValue(ATTR_OUTSIDE_TEMPERATURE))

@property
def inside_temperature(self):
"""Return current inside temperature."""
if not self.support_inside_temperature():
if not self.support_inside_temperature:
return None
return float(self.getValue(ATTR_INSIDE_TEMPERATURE))

Expand Down

0 comments on commit 5f05c49

Please sign in to comment.