diff --git a/homeassistant/components/smarttub/entity.py b/homeassistant/components/smarttub/entity.py index 49d5e94d76e..45f4556398c 100644 --- a/homeassistant/components/smarttub/entity.py +++ b/homeassistant/components/smarttub/entity.py @@ -35,11 +35,11 @@ class SmartTubEntity(CoordinatorEntity): @property def device_info(self) -> DeviceInfo: """Return device info.""" - return { - "identifiers": {(DOMAIN, self.spa.id)}, - "manufacturer": self.spa.brand, - "model": self.spa.model, - } + return DeviceInfo( + identifiers={(DOMAIN, self.spa.id)}, + manufacturer=self.spa.brand, + model=self.spa.model, + ) @property def name(self) -> str: