From 6d192bcac6cbd42da25e7e2f2e496c447c1bf802 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 29 Sep 2022 13:54:07 +1300 Subject: [PATCH] Fix default --- aioesphomeapi/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioesphomeapi/model.py b/aioesphomeapi/model.py index 3a68951..bc44c17 100644 --- a/aioesphomeapi/model.py +++ b/aioesphomeapi/model.py @@ -889,7 +889,7 @@ class BluetoothGATTServices(APIModelBase): @dataclass(frozen=True) class ESPHomeBluetoothGATTServices: address: int = 0 - services: List[BluetoothGATTService] = [] + services: List[BluetoothGATTService] = field(default_factory=list) @dataclass(frozen=True)