From 2c01fb2de4a211b7174a2fed8286c93685087840 Mon Sep 17 00:00:00 2001 From: Ole Bittner Date: Mon, 8 Jul 2024 22:42:24 +0200 Subject: [PATCH] show original name in serial number --- custom_components/reos_integration/button.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/reos_integration/button.py b/custom_components/reos_integration/button.py index 8a9526b..2cfbf84 100644 --- a/custom_components/reos_integration/button.py +++ b/custom_components/reos_integration/button.py @@ -43,5 +43,6 @@ class ReosDoorButton(CoordinatorEntity, ButtonEntity): def device_info(self) -> DeviceInfo | None: return DeviceInfo( identifiers={(DOMAIN, self.idx)}, - name=self._model.display + name=self._model.display, + serial_number=self._model.name )