diff --git a/homeassistant/components/squeezebox/entity.py b/homeassistant/components/squeezebox/entity.py index 962c6cebd60..032d64fc6cf 100644 --- a/homeassistant/components/squeezebox/entity.py +++ b/homeassistant/components/squeezebox/entity.py @@ -20,9 +20,8 @@ class LMSStatusEntity(CoordinatorEntity[LMSStatusDataUpdateCoordinator]): ) -> None: """Initialize status sensor entity.""" super().__init__(coordinator, context=description.key) - self.coordinator = coordinator self.entity_description = description - self._attr_name = description.key + self._attr_translation_key = description.key self._attr_unique_id = f"{coordinator.data[STATUS_QUERY_UUID]}{description.key}" self._attr_device_info = DeviceInfo( diff --git a/homeassistant/components/squeezebox/strings.json b/homeassistant/components/squeezebox/strings.json index 899d35813aa..23a56d1930a 100644 --- a/homeassistant/components/squeezebox/strings.json +++ b/homeassistant/components/squeezebox/strings.json @@ -75,5 +75,15 @@ "name": "Unsync", "description": "Removes this player from its sync group." } + }, + "entity": { + "binary_sensor": { + "rescan": { + "name": "rescan" + }, + "needsrestart": { + "name": "needsrestart" + } + } } }