This is a device handler for the HomeSeer Wall Switch (HS-WS200+).
All Features are fully functional with Automations and all the built-in apps, but until Custom Capabilities are fully supported and all of their known bugs have been fixed you’ll need to use the Workaround Child Devices with those SmartApps.
down, down_hold, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_2x, up_3x, up_4x, up_5x
Normal LED Mode(load) / Status LED Mode (custom)
Normal LED Color
white, red, green, blue, magenta, yellow, cyan
Status LED Color
off, red, green, blue, magenta, yellow, cyan, white, blinking red, blinking green, blinking blue, blinking magenta, blinking yellow, blinking cyan, blinking white
Status LED Blink Frequency
You can only change it from the settings, its child device, or WebCoRE because of a bug in custom capabilities
Workaround Child Devices
Requires the optional Child Device Handlers
There’s a setting for each child device that determines if it gets created.
Switch On: Normal Mode | Switch Off: Status Mode | Color Control: Sets Normal Mode LED Color
Status Mode LED Color:
Switch On: Restore Last | Switch Off: LED Off | Color Control: Sets LED Color
Status Mode Blink Frequency:
Switch On: Restore Last | Switch Off: Disable Blinking | Dimmer Level: Sets Blink Frequency (1=100ms, 2=200ms, etc.)
HomeSeer Wall Switch
Child Device for Changing LED Mode and Normal LED Color
Child Device for Changing Status LED Blink Frequency
Child Device for Changing Status LED Color
Device Handler Code
Optional Child Devices