5 Commits

Author SHA1 Message Date
Ryan Nitcher
5dd71dde39 Correct Quality Issues
- Fix: Decrease log message severity in `feature.py`.
- Fix: Rename `_set_range_cli` to `_set_range_from_str`.
- Add: Basic tests for string to Motion Range value converter function.
2024-12-06 19:09:30 -07:00
Ryan Nitcher
28080067db Add Async ADC PIR Support
- Add: Async function to get the current state of the ADC PIR sensor.
- Fix: Move ADC PIR state and config into proper dataclasses.
- Add: Add CLI test for passing bad quotes to feature set.
2024-12-06 18:23:24 -07:00
Ryan Nitcher
d2ce2d20d4 Remove Custom Parsers
- Fix: Back out custom value parser logic.
- Fix: Remove overloaded range set functionality.
- Fix: Improve error messages when user forgets quotes around cli arguments.
2024-12-06 18:23:24 -07:00
Ryan Nitcher
84aa74546e Add ADC Value to PIR Enabled Switches
- Add: ADC value reporting to PIR enabled switches, so that it may be used in polling automations.
- Add: ADC trigger state value reporting, for simpler automations.
- Add: Ability for features to use custom value parsers.
2024-12-06 18:23:24 -07:00
Steven B.
32671da9e9
Move tests folder to top level of project (#1242) 2024-11-11 10:11:31 +00:00