Hoping it may be possible using the Device Extentions plugin to convert a device state like 100.00%, or less, to a simple integer, 100, 90, 5 etc? I'm trying to trigger from a luminance sensor value.
The state always includes the .00% at the end.
Thanks,
Carl