mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update naming to reflect name change from Logitech Media Server to Lyrion Music Server (#119480)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
f1759982ad
commit
3d9f053256
@ -1,4 +1,4 @@
|
|||||||
"""The Logitech Squeezebox integration."""
|
"""The Squeezebox integration."""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ PLATFORMS = [Platform.MEDIA_PLAYER]
|
|||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
"""Set up Logitech Squeezebox from a config entry."""
|
"""Set up Squeezebox from a config entry."""
|
||||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""Config flow for Logitech Squeezebox integration."""
|
"""Config flow for Squeezebox integration."""
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
from http import HTTPStatus
|
from http import HTTPStatus
|
||||||
@ -64,7 +64,7 @@ def _base_schema(discovery_info=None):
|
|||||||
|
|
||||||
|
|
||||||
class SqueezeboxConfigFlow(ConfigFlow, domain=DOMAIN):
|
class SqueezeboxConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||||
"""Handle a config flow for Logitech Squeezebox."""
|
"""Handle a config flow for Squeezebox."""
|
||||||
|
|
||||||
VERSION = 1
|
VERSION = 1
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"domain": "squeezebox",
|
"domain": "squeezebox",
|
||||||
"name": "Squeezebox (Logitech Media Server)",
|
"name": "Squeezebox (Lyrion Music Server)",
|
||||||
"codeowners": ["@rajlaud"],
|
"codeowners": ["@rajlaud"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"dhcp": [
|
"dhcp": [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""Support for interfacing to the Logitech SqueezeBox API."""
|
"""Support for interfacing to the SqueezeBox API."""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"host": "[%key:common::config_flow::data::host%]"
|
"host": "[%key:common::config_flow::data::host%]"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"host": "The hostname or IP address of your Logitech Media Server."
|
"host": "The hostname or IP address of your Lyrion Music Server."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
@ -39,11 +39,11 @@
|
|||||||
"fields": {
|
"fields": {
|
||||||
"command": {
|
"command": {
|
||||||
"name": "Command",
|
"name": "Command",
|
||||||
"description": "Command to pass to Logitech Media Server (p0 in the CLI documentation)."
|
"description": "Command to pass to Lyrion Music Server (p0 in the CLI documentation)."
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"name": "Parameters",
|
"name": "Parameters",
|
||||||
"description": "Array of additional parameters to pass to Logitech Media Server (p1, ..., pN in the CLI documentation).\n."
|
"description": "Array of additional parameters to pass to Lyrion Music Server (p1, ..., pN in the CLI documentation).\n."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -3386,7 +3386,7 @@
|
|||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"name": "Squeezebox (Logitech Media Server)"
|
"name": "Squeezebox (Lyrion Music Server)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user