There was an error while loading. Please reload this page.
1 parent 202ca69 commit 9f2dc53Copy full SHA for 9f2dc53
1 file changed
custom_components/smartthings/switch.py
@@ -66,7 +66,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
66
for device in broker.devices.values():
67
for capability in broker.get_assigned(device.device_id, "switch"):
68
maps = CAPABILITY_TO_SWITCH[capability]
69
- if capability == "custom.autoCleaningMode":
+ if capability in ("custom.autoCleaningMode", "custom.spiMode"):
70
switches.extend(
71
[
72
SmartThingsCustomSwitch(
0 commit comments