This is a device handler for the HomeSeer Indicator Light Sensor (HS-FS100-L).
This handler includes some workarounds that make it fully functional with Automations and all the built-in SmartApps, but they shouldn’t be needed once Custom Capabilities are fully supported. The handler also has some quirks that were unavoidable at the time of writing this handler because Custom Capabilities still have a lot of broken features.
Supports all the settings that are meant to be used with this model.
Indicator Light Sensor
no light | light | color change
pushed: no light | pushed_2x: light | pushed_3x: color change
Shows if it was joined as a DC powered repeater or sleeping battery device
Makes device beep, but only works if the device was joined on DC power and is still on DC power. The ability to conditionally show tiles is currently broken so it’s displayed even when you can’t use it. The built-in Tone capability is missing from Automations and gets displayed as “find my device” on the device details screen so using the Alarm capability was the best workaround I could think of
If the device was joined on DC power it’s not possible to get the battery level or conditionally hide it at the moment so it will always be 100%
Indicator Light Sensor is a Custom Capability so you won’t be able to use it in Automations so you’ll need to use the Button Actions to trigger automations until they’re supported.
This device shares a fingerprint with the HS-FS100-W so if you have both handlers installed you need to put // in front of the fingerprint line in the other handler before joining the device. If you don’t do that it might get assigned the wrong handler and it might still show the old UI after changing handler due to caching issues with the platform.
When the device is powered by batteries and you change a setting the device won’t receive it until the next time it wakes up which could take 24 hours. You can manually wake the device up by pushing the physical button, but it doesn’t notify the hub that it’s awake so you need to refresh the device details a moment after waking it up. Swiping down when you’re at the top of the device details screen executes the refresh command.
Device Handler Code