core/tests/components/switchbee/__init__.py

10 lines
318 B
Python

"""Tests for the SwitchBee Smart Home integration."""
MOCK_FAILED_TO_LOGIN_MSG = (
"Central Unit replied with failure: {'status': 'LOGIN_FAILED'}"
)
MOCK_INVALID_TOKEN_MGS = (
"Error fetching switchbee data: Error communicating with API: data Request failed"
" due to INVALID_TOKEN, trying to re-login"
)