From 358da7e266aed18d58c633e7e3a2175b8d33cf47 Mon Sep 17 00:00:00 2001 From: Nils Vogels Date: Tue, 17 Sep 2024 13:48:30 +0200 Subject: [PATCH] Adds VIN to device info --- custom_components/myskoda/entity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/myskoda/entity.py b/custom_components/myskoda/entity.py index a53dbe5..9a9ed6b 100644 --- a/custom_components/myskoda/entity.py +++ b/custom_components/myskoda/entity.py @@ -27,6 +27,7 @@ def device_info(self) -> DeviceInfo: # noqa: D102 "identifiers": {(DOMAIN, self.vehicle.info.vin)}, "name": self.vehicle.info.specification.title, "manufacturer": "Škoda", + "serial_number": self.vehicle.info.vin, "sw_version": self.vehicle.info.software_version, "hw_version": f"{self.vehicle.info.specification.system_model_id}-{self.vehicle.info.specification.model_year}", "model": self.vehicle.info.specification.model,