1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00

Add serial number to Flo (#102526)

This commit is contained in:
Joost Lekkerkerker 2023-10-22 16:53:17 +02:00 committed by GitHub
parent ee8037afc1
commit 1a8558012f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ class FloEntity(Entity):
return DeviceInfo(
connections={(CONNECTION_NETWORK_MAC, self._device.mac_address)},
identifiers={(FLO_DOMAIN, self._device.id)},
serial_number=self._device.serial_number,
manufacturer=self._device.manufacturer,
model=self._device.model,
name=self._device.device_name.capitalize(),