mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Address august review comments (#124819)
* Address august review comments Followup to https://github.com/home-assistant/core/pull/124677 * cleanup loop * drop mixin name * event entity add cleanup * remove duplicate prop * pep0695 type * remove some not needed block till done * cleanup august tests * switch to freezegun * snapshots for dev reg * SOURCE_USER nit * snapshots * pytest.raises * not loaded check
This commit is contained in:
@@ -109,12 +109,11 @@ async def async_setup_entry(
|
||||
for description in SENSOR_TYPES_DOORBELL
|
||||
)
|
||||
|
||||
for doorbell in data.doorbells:
|
||||
entities.extend(
|
||||
AugustDoorbellBinarySensor(data, doorbell, description)
|
||||
for description in SENSOR_TYPES_DOORBELL + SENSOR_TYPES_VIDEO_DOORBELL
|
||||
)
|
||||
|
||||
entities.extend(
|
||||
AugustDoorbellBinarySensor(data, doorbell, description)
|
||||
for description in SENSOR_TYPES_DOORBELL + SENSOR_TYPES_VIDEO_DOORBELL
|
||||
for doorbell in data.doorbells
|
||||
)
|
||||
async_add_entities(entities)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user