mirror of
https://github.com/home-assistant/core
synced 2024-09-30 14:28:22 +00:00
Add ability to control dimmable sources
This commit is contained in:
parent
f192a15a8f
commit
eebb736bf8
|
@ -13,4 +13,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
for device in INSTEON.devices:
|
||||
if device.DeviceCategory == "Switched Lighting Control":
|
||||
devs.append(InsteonToggleDevice(device))
|
||||
if device.DeviceCategory == "Dimmable Lighting Control":
|
||||
devs.append(InsteonToggleDevice(device))
|
||||
add_devices(devs)
|
||||
|
|
Loading…
Reference in a new issue