epenet
fb1b0058ee
Fix consider-using-tuple pylint warnings in component tests ( #119464 )
...
* Fix consider-using-tuple pylint warnings in component tests
* Apply su
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com >
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com >
2024-06-12 15:50:27 +02:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Sid
d5fd005db8
Add ruff rule PIE808 ( #113621 )
2024-03-17 09:56:26 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Robert Resch
d7fb949994
Deprecate mailbox platform ( #110930 )
2024-02-27 13:50:02 +01:00
Marc Mueller
3f5a21dce4
Fix mailbox PytestCollectionWarning ( #97740 )
2023-08-04 12:31:32 +02:00
epenet
842d89f419
Rewrite mailbox tests ( #90906 )
...
* Rewrite mailbox tests
* Use some bytes for get_media
* Split __init__ method
* Cleanup lingering timers
* Simplify message text
* Simplify msgtime
* Remove cleanup
* Use a constant
2023-04-06 13:48:19 +02:00
epenet
acec2fd7db
Fix lingering timers in mailbox tests ( #90830 )
2023-04-05 14:09:51 +02:00
epenet
6c430e03bc
Add type hints to integration tests (part 14) ( #88005 )
2023-02-15 10:31:43 +01:00
Ville Skyttä
77120a5137
Use http.HTTPStatus in components/m* ( #58251 )
2021-10-22 23:54:36 +02:00
Ville Skyttä
9864f2ef8b
String formatting cleanups ( #52937 )
2021-07-13 00:12:55 +02:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +01:00
springstan
9a40d5b7ed
Use HTTP_NOT_FOUND constant ( #33835 )
2020-04-09 00:57:47 +02:00
springstan
fb8f8133a0
Use HTTP_INTERNAL_SERVER_ERROR constant ( #33832 )
2020-04-08 23:20:03 +02:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Franck Nijhof
3a4db2fae7
Migrate mailbox tests from coroutine to async/await ( #30361 )
2020-01-01 17:13:04 -06:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
PhracturedBlue
98b92c78c0
Add Call Data Log platform. Mailboxes no longer require media ( #16579 )
...
* Add multiple mailbox support
* Fix extraneous debugging
* Add cdr support
* liniting errors
* Mailbox log messages should mostly be debug. Fix race condition with initializing CDR
* async decorators to async
* Lint fixes
* Typo
* remove unneeded parameter
* Fix variable names
* Fix async calls from worker thread. Other minor cleanups
* more variable renames
2018-09-21 11:55:12 +02:00
Paulus Schoutsen
89a19c89a7
Fix aiohttp deprecation warnings ( #13240 )
...
* Fix aiohttp deprecation warnings
* Fix Ring deprecation warning
* Lint
2018-03-15 21:49:49 +01:00
PhracturedBlue
19ee3c42b6
Add longer text strings to mailbox demo to test string truncation ( #8893 )
...
* Add longer text strings to mailbox demo to test string truncation in frontend
* Remove lorem ipsum txt file
* Use format instead of %
2017-08-08 23:37:16 +02:00
PhracturedBlue
d74f4eaf52
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
2017-08-06 11:19:47 -07:00