Skip to content

Commit

Permalink
Update sensor type follow platformutil version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirut Getbamrung committed Dec 4, 2018
1 parent 5cf5217 commit e24ffdd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def input_type_selector(self, unit):
return {
"C": "temperature",
"V": "voltage",
"RPM": "fan_speed",
"A": "current",
"RPM": "RPM",
"A": "amp",
"W": "power"
}.get(unit, unit)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def input_type_selector(self, unit):
return {
"C": "temperature",
"V": "voltage",
"RPM": "fan_speed",
"A": "current",
"RPM": "RPM",
"A": "amp",
"W": "power"
}.get(unit, unit)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def input_type_selector(self, unit):
return {
"C": "temperature",
"V": "voltage",
"RPM": "fan_speed",
"A": "current",
"RPM": "RPM",
"A": "amp",
"W": "power"
}.get(unit, unit)

Expand Down

0 comments on commit e24ffdd

Please sign in to comment.