* Add threshold sensor * New config requirement, update async, other changes, and update tests * Update threshold.py