Fix typos in Radio Browser comment and docstring (#97138)

pull/97141/head
Joost Lekkerkerker 2023-07-24 14:22:09 +02:00 committed by GitHub
parent 14524b985b
commit 0c4e341189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ CODEC_TO_MIMETYPE = {
async def async_get_media_source(hass: HomeAssistant) -> RadioMediaSource:
"""Set up Radio Browser media source."""
# Radio browser support only a single config entry
# Radio browser supports only a single config entry
entry = hass.config_entries.async_entries(DOMAIN)[0]
return RadioMediaSource(hass, entry)
@ -40,7 +40,7 @@ class RadioMediaSource(MediaSource):
name = "Radio Browser"
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None:
"""Initialize CameraMediaSource."""
"""Initialize RadioMediaSource."""
super().__init__(DOMAIN)
self.hass = hass
self.entry = entry