* Swallow error 40000 for songpal power on/off * Move ERROR_REQUEST_RETRY to consts * Add tests for the swallow exception behavior * Update tests/components/songpal/test_media_player.py --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
7 lines
159 B
Python
7 lines
159 B
Python
"""Constants for the Songpal component."""
|
|
DOMAIN = "songpal"
|
|
SET_SOUND_SETTING = "set_sound_setting"
|
|
|
|
CONF_ENDPOINT = "endpoint"
|
|
|
|
ERROR_REQUEST_RETRY = 40000
|