Skip to content

Commit

Permalink
fix weather entity
Browse files Browse the repository at this point in the history
  • Loading branch information
siku2 committed May 29, 2021
1 parent e1d8a7b commit d0ec08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/weatherlink/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def temperature(self):

@property
def temperature_unit(self):
return self.units.temperature.unit_of_measurement
return self.units.temperature.info.unit_of_measurement

@property
def pressure(self):
Expand Down

0 comments on commit d0ec08f

Please sign in to comment.