Mock tradfri lights correctly (#39706)
This commit is contained in:
1 parent
3b88452b2f
commit
36632f64f1
1 file changed
+4
@@ -135,6 +135,10 @@ def mock_light(test_features=None, test_state=None, light_number=0):
|
||||
reachable=True,
|
||||
observe=Mock(),
|
||||
device_info=dev_info_mock,
|
||||
has_light_control=True,
|
||||
has_socket_control=False,
|
||||
has_blind_control=False,
|
||||
has_signal_repeater_control=False,
|
||||
)
|
||||
_mock_light.name = f"tradfri_light_{light_number}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user