Adding Foobot device sensor (#12417)

* Added Foobot device sensor

* Added error handling tests

* Corrections after PR review.

* Migrated to async/await syntax

 * lint fixes
 * stop raising HomeAssistantError
 * debug log for number of requests

* Moved shared data between sensors from a class attribute to a separate class

* Made test more async-aware

disabled setup error test for now as it's not working

* Working failure scenarios tests
This commit is contained in:
Fabien Piuzzi 2018-03-16 03:50:58 +01:00 committed by Paulus Schoutsen
parent 2350ce96a6
commit 0deef34881
8 changed files with 289 additions and 0 deletions

View file

@ -47,6 +47,7 @@ TEST_REQUIREMENTS = (
'ephem',
'evohomeclient',
'feedparser',
'foobot_async',
'gTTS-token',
'HAP-python',
'ha-ffmpeg',