Skip to content

Commit

Permalink
Merge pull request rospogrigio#40 from rospogrigio/fixes_rploeg
Browse files Browse the repository at this point in the history
Further fixes for missing capabilities
  • Loading branch information
rospogrigio authored Dec 9, 2021
2 parents 3ca544d + 5f05c49 commit d3c5bd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/daikin_residential/daikin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,15 @@ def support_outside_temperature(self):
@property
def outside_temperature(self):
"""Return current 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:
return None
return float(self.getValue(ATTR_INSIDE_TEMPERATURE))

@property
Expand Down

0 comments on commit d3c5bd8

Please sign in to comment.