-
- Downloads
Add Initial Mailbox panel and sensor (#8233)
* Initial implementation of Asterisk Mailbox * Rework asterisk_mbox handler to avoid using the hass.data hash. Fix requirements. * Handle potential asterisk server disconnect. bump asterisk_mbox requirement to 0.4.0 * Use async method for mp3 fetch from server * Add http as dependency * Minor log fix. try to force Travis to rebuild * Updates based on review * Fix error handling as per review * Fix error handling as per review * Refactor voicemail into mailbox component * Hide mailbox component from front page * Add demo for mailbox * Add tests for mailbox * Remove asterisk_mbox sensor and replace with a generic mailbox sensor * Fix linting errors * Remove mailbox sensor. Remove demo.mp3. Split entity from platform object. * Update mailbox test * Update mailbox test * Use events to indicate state change rather than entity last-updated * Make mailbox platform calls async. Fix other review concerns * Rewrite mailbox tests to live at root level and be async. Fixmailbox dependency on http * Only store number of messages not content in mailbox entity
Showing
- .coveragerc 3 additions, 0 deletions.coveragerc
- homeassistant/components/asterisk_mbox.py 82 additions, 0 deletionshomeassistant/components/asterisk_mbox.py
- homeassistant/components/demo.py 1 addition, 0 deletionshomeassistant/components/demo.py
- homeassistant/components/mailbox/__init__.py 254 additions, 0 deletionshomeassistant/components/mailbox/__init__.py
- homeassistant/components/mailbox/asterisk_mbox.py 68 additions, 0 deletionshomeassistant/components/mailbox/asterisk_mbox.py
- homeassistant/components/mailbox/demo.py 75 additions, 0 deletionshomeassistant/components/mailbox/demo.py
- requirements_all.txt 3 additions, 0 deletionsrequirements_all.txt
- tests/components/mailbox/__init__.py 1 addition, 0 deletionstests/components/mailbox/__init__.py
- tests/components/mailbox/test_init.py 116 additions, 0 deletionstests/components/mailbox/test_init.py
homeassistant/components/asterisk_mbox.py
0 → 100644
homeassistant/components/mailbox/__init__.py
0 → 100644
homeassistant/components/mailbox/demo.py
0 → 100644
tests/components/mailbox/__init__.py
0 → 100644
tests/components/mailbox/test_init.py
0 → 100644
Please register or sign in to comment