mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix dangerous-default-value warnings in homematicip_cloud tests (#119583)
This commit is contained in:
parent
835d422a90
commit
75e0aee8fc
@ -84,7 +84,7 @@ class HomeFactory:
|
||||
self.hmip_config_entry = hmip_config_entry
|
||||
|
||||
async def async_get_mock_hap(
|
||||
self, test_devices=[], test_groups=[]
|
||||
self, test_devices=None, test_groups=None
|
||||
) -> HomematicipHAP:
|
||||
"""Create a mocked homematic access point."""
|
||||
home_name = self.hmip_config_entry.data["name"]
|
||||
@ -130,7 +130,9 @@ class HomeTemplate(Home):
|
||||
_typeGroupMap = TYPE_GROUP_MAP
|
||||
_typeSecurityEventMap = TYPE_SECURITY_EVENT_MAP
|
||||
|
||||
def __init__(self, connection=None, home_name="", test_devices=[], test_groups=[]):
|
||||
def __init__(
|
||||
self, connection=None, home_name="", test_devices=None, test_groups=None
|
||||
):
|
||||
"""Init template with connection."""
|
||||
super().__init__(connection=connection)
|
||||
self.name = home_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user