diff --git a/tests/components/homematicip_cloud/helper.py b/tests/components/homematicip_cloud/helper.py index 4632b9107af..f82880d3fa8 100644 --- a/tests/components/homematicip_cloud/helper.py +++ b/tests/components/homematicip_cloud/helper.py @@ -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