mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add SmartThings Climate platform (#20963)
* Add SmartThings Climate platform * Add SmartThings Climate platform
This commit is contained in:
committed by
Martin Hjelmare
parent
0d98f9783f
commit
e8ed56ca52
@@ -235,7 +235,8 @@ def config_entry_fixture(hass, installed_app, location):
|
||||
def device_factory_fixture():
|
||||
"""Fixture for creating mock devices."""
|
||||
api = Mock(spec=Api)
|
||||
api.post_device_command.return_value = mock_coro(return_value={})
|
||||
api.post_device_command.side_effect = \
|
||||
lambda *args, **kwargs: mock_coro(return_value={})
|
||||
|
||||
def _factory(label, capabilities, status: dict = None):
|
||||
device_data = {
|
||||
|
||||
Reference in New Issue
Block a user