Skip to content

Commit

Permalink
Type fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Mar 31, 2018
1 parent 35b5e31 commit f399eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/powerstrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def voltage(self) -> Optional[int]:
return None

@property
def power_factor(self) -> Optional[int]:
def power_factor(self) -> Optional[float]:
"""The power factor, if available."""
if self.data["power_factor"] is not None:
return self.data["power_factor"]
Expand Down

0 comments on commit f399eb8

Please sign in to comment.