mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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:
|
for device in INSTEON.devices:
|
||||||
if device.DeviceCategory == "Switched Lighting Control":
|
if device.DeviceCategory == "Switched Lighting Control":
|
||||||
devs.append(InsteonToggleDevice(device))
|
devs.append(InsteonToggleDevice(device))
|
||||||
|
if device.DeviceCategory == "Dimmable Lighting Control":
|
||||||
|
devs.append(InsteonToggleDevice(device))
|
||||||
add_devices(devs)
|
add_devices(devs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user