Skip to content

Commit

Permalink
switched to UnitOfTemperature.FAHRENHEIT
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnodgrass committed May 23, 2024
1 parent 28acdbe commit 84aa437
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/poolmath/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ATTR_ICON,
ATTR_NAME,
ATTR_UNIT_OF_MEASUREMENT,
TEMP_FAHRENHEIT,
UnitOfTemperature
)

from .const import (
Expand Down Expand Up @@ -81,13 +81,13 @@
},
'temp': {
ATTR_NAME: 'Temp',
ATTR_UNIT_OF_MEASUREMENT: TEMP_FAHRENHEIT,
ATTR_UNIT_OF_MEASUREMENT: UnitOfTemperature.FAHRENHEIT,
ATTR_DESCRIPTION: 'Temperature',
ATTR_ICON: 'mdi:coolant-temperature',
},
'waterTemp': {
ATTR_NAME: 'Temp',
ATTR_UNIT_OF_MEASUREMENT: TEMP_FAHRENHEIT,
ATTR_UNIT_OF_MEASUREMENT: UnitOfTemperature.FAHRENHEIT,
ATTR_DESCRIPTION: 'Temperature',
ATTR_ICON: 'mdi:coolant-temperature',
},
Expand All @@ -99,7 +99,7 @@
},
'pressure': {
ATTR_NAME: 'Pressure',
ATTR_UNIT_OF_MEASUREMENT: TEMP_FAHRENHEIT,
ATTR_UNIT_OF_MEASUREMENT: UnitOfTemperature.FAHRENHEIT,
ATTR_DESCRIPTION: 'Filter Pressure',
ATTR_ICON: 'mdi:coolant-temperature',
},
Expand Down

0 comments on commit 84aa437

Please sign in to comment.