self._attr_device_info = DeviceInfo(
model=discovery_info.get("model", "BluOS Device"),
manufacturer="BluOS",
- ip_address=ip_address,
)
+ self._attr_device_info.ip_address = ip_address
self._attr_available = True
self._attr_source_list = []
self._attr_needs_poll = True
self._attr_device_info = DeviceInfo(
model=self.cast_info.model_name,
- ip_address=f"{self.cast_info.host}:{self.cast_info.port}",
manufacturer=self.cast_info.manufacturer or "",
)
+ self._attr_device_info.ip_address = self.cast_info.host
assert provider.mz_mgr is not None # for type checking
status_listener = CastStatusListener(self, provider.mz_mgr)
self.status_listener = status_listener
self._attr_available = new_available
self._attr_device_info = DeviceInfo(
model=self.cast_info.model_name,
- ip_address=f"{self.cast_info.host}:{self.cast_info.port}",
manufacturer=self.cast_info.manufacturer or "",
)
+ self._attr_device_info.ip_address = self.cast_info.host
self.mass.loop.call_soon_threadsafe(self.update_state)
if new_available and self.type == PlayerType.PLAYER: