ruff format
parent
7b46fb523b
commit
8fcb8143e7
|
@ -22,7 +22,9 @@ class LMSStatusEntity(CoordinatorEntity[LMSStatusDataUpdateCoordinator]):
|
||||||
super().__init__(coordinator, context=description.key)
|
super().__init__(coordinator, context=description.key)
|
||||||
self.entity_description = description
|
self.entity_description = description
|
||||||
self._attr_translation_key = description.key
|
self._attr_translation_key = description.key
|
||||||
self._attr_unique_id = f"{coordinator.data[STATUS_QUERY_UUID]}_{description.key}"
|
self._attr_unique_id = (
|
||||||
|
f"{coordinator.data[STATUS_QUERY_UUID]}_{description.key}"
|
||||||
|
)
|
||||||
|
|
||||||
self._attr_device_info = DeviceInfo(
|
self._attr_device_info = DeviceInfo(
|
||||||
identifiers={(DOMAIN, coordinator.data[STATUS_QUERY_UUID])},
|
identifiers={(DOMAIN, coordinator.data[STATUS_QUERY_UUID])},
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
"name": "Squeezebox (Lyrion Music Server)",
|
"name": "Squeezebox (Lyrion Music Server)",
|
||||||
"codeowners": ["@rajlaud"],
|
"codeowners": ["@rajlaud"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
|
"version": "2.0.0.",
|
||||||
"dhcp": [
|
"dhcp": [
|
||||||
{
|
{
|
||||||
"hostname": "squeezebox*",
|
"hostname": "squeezebox*",
|
||||||
|
|
Loading…
Reference in New Issue