diff --git a/homeassistant/components/smarttub/entity.py b/homeassistant/components/smarttub/entity.py index 49d5e94d76e55..45f4556398c23 100644 --- a/homeassistant/components/smarttub/entity.py +++ b/homeassistant/components/smarttub/entity.py @@ -35,11 +35,11 @@ def unique_id(self) -> str: @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: