Bump jaraco.abode to 5.1.2 (#117363)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
59dd63ea86
commit
c04a6cc639
11 changed files with 24 additions and 53 deletions
|
@ -6,7 +6,6 @@ from math import ceil
|
|||
from typing import Any
|
||||
|
||||
from jaraco.abode.devices.light import Light
|
||||
from jaraco.abode.helpers.constants import TYPE_LIGHT
|
||||
|
||||
from homeassistant.components.light import (
|
||||
ATTR_BRIGHTNESS,
|
||||
|
@ -36,7 +35,7 @@ async def async_setup_entry(
|
|||
|
||||
async_add_entities(
|
||||
AbodeLight(data, device)
|
||||
for device in data.abode.get_devices(generic_type=TYPE_LIGHT)
|
||||
for device in data.abode.get_devices(generic_type="light")
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue