Fix Insteon thermostat issues (#75079)

This commit is contained in:
Tom Harris 2022-07-13 02:56:08 -04:00 committed by GitHub
parent ad82352dae
commit 1e5ada0f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -86,7 +86,7 @@ class InsteonClimateEntity(InsteonEntity, ClimateEntity):
@property @property
def temperature_unit(self) -> str: def temperature_unit(self) -> str:
"""Return the unit of measurement.""" """Return the unit of measurement."""
if self._insteon_device.properties[CELSIUS].value: if self._insteon_device.configuration[CELSIUS].value:
return TEMP_CELSIUS return TEMP_CELSIUS
return TEMP_FAHRENHEIT return TEMP_FAHRENHEIT

View File

@ -4,8 +4,8 @@
"documentation": "https://www.home-assistant.io/integrations/insteon", "documentation": "https://www.home-assistant.io/integrations/insteon",
"dependencies": ["http", "websocket_api"], "dependencies": ["http", "websocket_api"],
"requirements": [ "requirements": [
"pyinsteon==1.1.1", "pyinsteon==1.1.3",
"insteon-frontend-home-assistant==0.1.1" "insteon-frontend-home-assistant==0.2.0"
], ],
"codeowners": ["@teharris1"], "codeowners": ["@teharris1"],
"dhcp": [ "dhcp": [

View File

@ -894,7 +894,7 @@ influxdb-client==1.24.0
influxdb==5.3.1 influxdb==5.3.1
# homeassistant.components.insteon # homeassistant.components.insteon
insteon-frontend-home-assistant==0.1.1 insteon-frontend-home-assistant==0.2.0
# homeassistant.components.intellifire # homeassistant.components.intellifire
intellifire4py==2.0.1 intellifire4py==2.0.1
@ -1562,7 +1562,7 @@ pyialarm==2.2.0
pyicloud==1.0.0 pyicloud==1.0.0
# homeassistant.components.insteon # homeassistant.components.insteon
pyinsteon==1.1.1 pyinsteon==1.1.3
# homeassistant.components.intesishome # homeassistant.components.intesishome
pyintesishome==1.8.0 pyintesishome==1.8.0

View File

@ -640,7 +640,7 @@ influxdb-client==1.24.0
influxdb==5.3.1 influxdb==5.3.1
# homeassistant.components.insteon # homeassistant.components.insteon
insteon-frontend-home-assistant==0.1.1 insteon-frontend-home-assistant==0.2.0
# homeassistant.components.intellifire # homeassistant.components.intellifire
intellifire4py==2.0.1 intellifire4py==2.0.1
@ -1059,7 +1059,7 @@ pyialarm==2.2.0
pyicloud==1.0.0 pyicloud==1.0.0
# homeassistant.components.insteon # homeassistant.components.insteon
pyinsteon==1.1.1 pyinsteon==1.1.3
# homeassistant.components.ipma # homeassistant.components.ipma
pyipma==2.0.5 pyipma==2.0.5