mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Use homeassistant.const instead of integration const for device_info ATTR_ (#53703)
This commit is contained in:
@@ -14,9 +14,6 @@ from homeassistant.components.homekit.accessories import (
|
||||
from homeassistant.components.homekit.const import (
|
||||
ATTR_DISPLAY_NAME,
|
||||
ATTR_INTEGRATION,
|
||||
ATTR_MANUFACTURER,
|
||||
ATTR_MODEL,
|
||||
ATTR_SOFTWARE_VERSION,
|
||||
ATTR_VALUE,
|
||||
BRIDGE_MODEL,
|
||||
BRIDGE_NAME,
|
||||
@@ -36,7 +33,10 @@ from homeassistant.const import (
|
||||
ATTR_BATTERY_CHARGING,
|
||||
ATTR_BATTERY_LEVEL,
|
||||
ATTR_ENTITY_ID,
|
||||
ATTR_MANUFACTURER,
|
||||
ATTR_MODEL,
|
||||
ATTR_SERVICE,
|
||||
ATTR_SW_VERSION,
|
||||
STATE_OFF,
|
||||
STATE_ON,
|
||||
STATE_UNAVAILABLE,
|
||||
@@ -105,7 +105,7 @@ async def test_home_accessory(hass, hk_driver):
|
||||
{
|
||||
ATTR_MODEL: "Awesome",
|
||||
ATTR_MANUFACTURER: "Lux Brands",
|
||||
ATTR_SOFTWARE_VERSION: "0.4.3",
|
||||
ATTR_SW_VERSION: "0.4.3",
|
||||
ATTR_INTEGRATION: "luxe",
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user