mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix formatting IntEnum as hex in 3.8.x (#45686)
This commit is contained in:
parent
c66a892233
commit
aacf6bd100
@ -84,7 +84,7 @@ class InsteonEntity(Entity):
|
|||||||
return {
|
return {
|
||||||
"identifiers": {(DOMAIN, str(self._insteon_device.address))},
|
"identifiers": {(DOMAIN, str(self._insteon_device.address))},
|
||||||
"name": f"{self._insteon_device.description} {self._insteon_device.address}",
|
"name": f"{self._insteon_device.description} {self._insteon_device.address}",
|
||||||
"model": f"{self._insteon_device.model} (0x{self._insteon_device.cat:02x}, 0x{self._insteon_device.subcat:02x})",
|
"model": f"{self._insteon_device.model} ({self._insteon_device.cat!r}, 0x{self._insteon_device.subcat:02x})",
|
||||||
"sw_version": f"{self._insteon_device.firmware:02x} Engine Version: {self._insteon_device.engine_version}",
|
"sw_version": f"{self._insteon_device.firmware:02x} Engine Version: {self._insteon_device.engine_version}",
|
||||||
"manufacturer": "Smart Home",
|
"manufacturer": "Smart Home",
|
||||||
"via_device": (DOMAIN, str(devices.modem.address)),
|
"via_device": (DOMAIN, str(devices.modem.address)),
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "insteon",
|
"domain": "insteon",
|
||||||
"name": "Insteon",
|
"name": "Insteon",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/insteon",
|
"documentation": "https://www.home-assistant.io/integrations/insteon",
|
||||||
"requirements": ["pyinsteon==1.0.8"],
|
"requirements": ["pyinsteon==1.0.9"],
|
||||||
"codeowners": ["@teharris1"],
|
"codeowners": ["@teharris1"],
|
||||||
"config_flow": true
|
"config_flow": true
|
||||||
}
|
}
|
@ -1446,7 +1446,7 @@ pyhomeworks==0.0.6
|
|||||||
pyicloud==0.9.7
|
pyicloud==0.9.7
|
||||||
|
|
||||||
# homeassistant.components.insteon
|
# homeassistant.components.insteon
|
||||||
pyinsteon==1.0.8
|
pyinsteon==1.0.9
|
||||||
|
|
||||||
# homeassistant.components.intesishome
|
# homeassistant.components.intesishome
|
||||||
pyintesishome==1.7.5
|
pyintesishome==1.7.5
|
||||||
|
@ -745,7 +745,7 @@ pyhomematic==0.1.71
|
|||||||
pyicloud==0.9.7
|
pyicloud==0.9.7
|
||||||
|
|
||||||
# homeassistant.components.insteon
|
# homeassistant.components.insteon
|
||||||
pyinsteon==1.0.8
|
pyinsteon==1.0.9
|
||||||
|
|
||||||
# homeassistant.components.ipma
|
# homeassistant.components.ipma
|
||||||
pyipma==2.0.5
|
pyipma==2.0.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user