Home Assistant Unofficial Reference
2024.12.1
exception.py
Go to the documentation of this file.
1
"""Sonos specific exceptions."""
2
3
from
homeassistant.components.media_player
import
BrowseError
4
from
homeassistant.exceptions
import
HomeAssistantError
5
6
7
class
UnknownMediaType
(
BrowseError
):
8
"""Unknown media type."""
9
10
11
class
SonosSubscriptionsFailed
(
HomeAssistantError
):
12
"""Subscription creation failed."""
13
14
15
class
SonosUpdateError
(
HomeAssistantError
):
16
"""Update failed."""
17
18
19
class
S1BatteryMissing
(
SonosUpdateError
):
20
"""Battery update failed on S1 firmware."""
homeassistant.components.media_player.errors.BrowseError
Definition:
errors.py:10
homeassistant.components.sonos.exception.S1BatteryMissing
Definition:
exception.py:19
homeassistant.components.sonos.exception.SonosSubscriptionsFailed
Definition:
exception.py:11
homeassistant.components.sonos.exception.SonosUpdateError
Definition:
exception.py:15
homeassistant.components.sonos.exception.UnknownMediaType
Definition:
exception.py:7
homeassistant.exceptions.HomeAssistantError
Definition:
exceptions.py:34
homeassistant.components.media_player
Definition:
__init__.py:1
homeassistant.exceptions
Definition:
exceptions.py:1
core
homeassistant
components
sonos
exception.py
Generated by
1.9.1