mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add more providers, bump yessssms version to 0.4.1 (#26874)
* bump yessssms version to 0.4.0 adds 'provider' config parameter adds support for providers: * billitel * EDUCOM * fenercell * georg * goood * kronemobile * kuriermobil * SIMfonie * teleplanet * WOWWW * yooopi * black formatting * moved CONF_PROVIDER to component * black formatting * moved error handling on init to get_service * return None, init logging moved to get_service * moved YesssSMS import to top of module * test login data on init. add flag for login data test. removed KeyError * catch connection error, remove CONF_TEST_LOGIN_DATA config flag * requirements updated * lint * lint: use getters for protected members, bump version to 0.4.1b4 * requirements updated to 0.4.1b4 * fix logging messages, info to warning, clear up login_data check * change valid login data message to debug * fix tests * add tests for get_service * bump yessssms version 0.4.1 * tests for get_service refurbished * test refactoring with fixtures * polish fixtures ✨ * replace Mock with patch 🔄 * tiny string fixes, removed unused return_value 🐈
This commit is contained in:
committed by
Martin Hjelmare
parent
2dfdc5f6f8
commit
f9ac204cc5
3
homeassistant/components/yessssms/const.py
Normal file
3
homeassistant/components/yessssms/const.py
Normal file
@@ -0,0 +1,3 @@
|
||||
"""Const for YesssSMS."""
|
||||
|
||||
CONF_PROVIDER = "provider"
|
||||
Reference in New Issue
Block a user