Deduplicate constants A-D (#105638)
This commit is contained in:
parent
02853a62f0
commit
ac53b78a0c
61 changed files with 91 additions and 101 deletions
|
@ -8,7 +8,13 @@ from typing import Any
|
|||
from mysensors import BaseAsyncGateway, Sensor
|
||||
from mysensors.sensor import ChildSensor
|
||||
|
||||
from homeassistant.const import ATTR_BATTERY_LEVEL, STATE_OFF, STATE_ON, Platform
|
||||
from homeassistant.const import (
|
||||
ATTR_BATTERY_LEVEL,
|
||||
CONF_DEVICE,
|
||||
STATE_OFF,
|
||||
STATE_ON,
|
||||
Platform,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers.debounce import Debouncer
|
||||
from homeassistant.helpers.device_registry import DeviceInfo
|
||||
|
@ -17,7 +23,6 @@ from homeassistant.helpers.entity import Entity
|
|||
|
||||
from .const import (
|
||||
CHILD_CALLBACK,
|
||||
CONF_DEVICE,
|
||||
DOMAIN,
|
||||
NODE_CALLBACK,
|
||||
PLATFORM_TYPES,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue