mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Bump mozart-api to 4.1.1.116.3 (#131269)
This commit is contained in:
parent
e690c1026c
commit
ecb945e08c
@ -6,6 +6,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/bang_olufsen",
|
"documentation": "https://www.home-assistant.io/integrations/bang_olufsen",
|
||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"requirements": ["mozart-api==4.1.1.116.0"],
|
"requirements": ["mozart-api==4.1.1.116.3"],
|
||||||
"zeroconf": ["_bangolufsen._tcp.local."]
|
"zeroconf": ["_bangolufsen._tcp.local."]
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ from mozart_api.models import (
|
|||||||
VolumeState,
|
VolumeState,
|
||||||
WebsocketNotificationTag,
|
WebsocketNotificationTag,
|
||||||
)
|
)
|
||||||
from mozart_api.mozart_client import MozartClient
|
from mozart_api.mozart_client import BaseWebSocketResponse, MozartClient
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
@ -202,12 +202,15 @@ class BangOlufsenWebsocket(BangOlufsenBase):
|
|||||||
sw_version=software_status.software_version,
|
sw_version=software_status.software_version,
|
||||||
)
|
)
|
||||||
|
|
||||||
def on_all_notifications_raw(self, notification: dict) -> None:
|
def on_all_notifications_raw(self, notification: BaseWebSocketResponse) -> None:
|
||||||
"""Receive all notifications."""
|
"""Receive all notifications."""
|
||||||
|
|
||||||
# Add the device_id and serial_number to the notification
|
|
||||||
notification["device_id"] = self._device.id
|
|
||||||
notification["serial_number"] = int(self._unique_id)
|
|
||||||
|
|
||||||
_LOGGER.debug("%s", notification)
|
_LOGGER.debug("%s", notification)
|
||||||
self.hass.bus.async_fire(BANG_OLUFSEN_WEBSOCKET_EVENT, notification)
|
self.hass.bus.async_fire(
|
||||||
|
BANG_OLUFSEN_WEBSOCKET_EVENT,
|
||||||
|
{
|
||||||
|
"device_id": self._device.id,
|
||||||
|
"serial_number": int(self._unique_id),
|
||||||
|
**notification,
|
||||||
|
},
|
||||||
|
)
|
||||||
|
@ -1403,7 +1403,7 @@ motionblindsble==0.1.2
|
|||||||
motioneye-client==0.3.14
|
motioneye-client==0.3.14
|
||||||
|
|
||||||
# homeassistant.components.bang_olufsen
|
# homeassistant.components.bang_olufsen
|
||||||
mozart-api==4.1.1.116.0
|
mozart-api==4.1.1.116.3
|
||||||
|
|
||||||
# homeassistant.components.mullvad
|
# homeassistant.components.mullvad
|
||||||
mullvad-api==1.0.0
|
mullvad-api==1.0.0
|
||||||
|
@ -1172,7 +1172,7 @@ motionblindsble==0.1.2
|
|||||||
motioneye-client==0.3.14
|
motioneye-client==0.3.14
|
||||||
|
|
||||||
# homeassistant.components.bang_olufsen
|
# homeassistant.components.bang_olufsen
|
||||||
mozart-api==4.1.1.116.0
|
mozart-api==4.1.1.116.3
|
||||||
|
|
||||||
# homeassistant.components.mullvad
|
# homeassistant.components.mullvad
|
||||||
mullvad-api==1.0.0
|
mullvad-api==1.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user