Add diagnostics to august (#68157)
This commit is contained in:
parent
ed24638201
commit
65c670c2c7
12 changed files with 217 additions and 32 deletions
|
@ -29,7 +29,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
|||
from homeassistant.helpers.event import async_call_later
|
||||
|
||||
from . import AugustData
|
||||
from .const import ACTIVITY_UPDATE_INTERVAL, DATA_AUGUST, DOMAIN
|
||||
from .const import ACTIVITY_UPDATE_INTERVAL, DOMAIN
|
||||
from .entity import AugustEntityMixin
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
@ -160,7 +160,7 @@ async def async_setup_entry(
|
|||
async_add_entities: AddEntitiesCallback,
|
||||
) -> None:
|
||||
"""Set up the August binary sensors."""
|
||||
data: AugustData = hass.data[DOMAIN][config_entry.entry_id][DATA_AUGUST]
|
||||
data: AugustData = hass.data[DOMAIN][config_entry.entry_id]
|
||||
entities: list[BinarySensorEntity] = []
|
||||
|
||||
for door in data.locks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue