Fix default

This commit is contained in:
Jesse Hills 2022-09-29 13:54:07 +13:00
parent 20e9725584
commit 6d192bcac6
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 1 additions and 1 deletions

View File

@ -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)