I have a device that controls 4 switches.
If I try to include this device in Automations, the behavior is:
-
Any switch on the device can be selected in the IF clause;
-
But ONLY the main switch is selectable in the THEN clause:
This is true, even though I can send a command to any of the switches on the device.
main smartthings % smartthings devices:commands 5270c846-914d-4bd7-917f-11d23c63e45c "switch2:switch:on()"
Command executed successfully
main smartthings %
main smartthings % smartthings devices:commands 5270c846-914d-4bd7-917f-11d23c63e45c "main:switch:on()"
Command executed successfully
main smartthings % smartthings devices:commands 5270c846-914d-4bd7-917f-11d23c63e45c "switch2:switch:on()"
Command executed successfully
main smartthings % smartthings devices:commands 5270c846-914d-4bd7-917f-11d23c63e45c "switch3:switch:on()"
Command executed successfully
main smartthings % smartthings devices:commands 5270c846-914d-4bd7-917f-11d23c63e45c "switch4:switch:on()"
Command executed successfully
In contrast, the Rules API allows me to perform action on all 4 switches.
Feature or bug?
Thanks
Henry