Please describe your feature request
I have two devices with iio light sensors not in the hardcoded list at https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L39. Wluma fails with No iio device found, even though they have iio device light sensors. As far as I can tell, if the filter_map at https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L39 was removed, Wluma would work, and I don't understand why that check is even there. Shouldn't checking if the device provides illuminance data be enough? That's what the next filter_map does, the one at https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L50.
For reference, the devices are a PinePhone Pro with an stk3310 iio light sensor and a Steam Deck with a ltrf216a iio light sensor.
Please describe your feature request
I have two devices with iio light sensors not in the hardcoded list at https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L39. Wluma fails with
No iio device found, even though they have iio device light sensors. As far as I can tell, if thefilter_mapat https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L39 was removed, Wluma would work, and I don't understand why that check is even there. Shouldn't checking if the device provides illuminance data be enough? That's what the nextfilter_mapdoes, the one at https://github.com/max-baz/wluma/blob/main/src/als/iio.rs#L50.For reference, the devices are a PinePhone Pro with an
stk3310iio light sensor and a Steam Deck with altrf216aiio light sensor.