jimpastos / ha-modernforms

ModernForms Smart Fan Integration for HomeAssistant
MIT License
12 stars 6 forks source link

reimplement as async with httpx, add version #16

Closed faceprint closed 3 years ago

faceprint commented 3 years ago

this uses the httpx library, and lowers the default interval to 5 seconds, which has elimited the hangs and issues for me

also sets up for potentially moving ModernFormsDevice out into its own library, which would be necessary to submit the rest to home-assistant for inclusion

icemarkom commented 3 years ago

No comment on the rest, but I would strongly advise against dropping the scan_interval to anything under 1 minute. That is known to cause issues with a large number of MF fans.