mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +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",
|
||||
"integration_type": "device",
|
||||
"iot_class": "local_push",
|
||||
"requirements": ["mozart-api==4.1.1.116.0"],
|
||||
"requirements": ["mozart-api==4.1.1.116.3"],
|
||||
"zeroconf": ["_bangolufsen._tcp.local."]
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ from mozart_api.models import (
|
||||
VolumeState,
|
||||
WebsocketNotificationTag,
|
||||
)
|
||||
from mozart_api.mozart_client import MozartClient
|
||||
from mozart_api.mozart_client import BaseWebSocketResponse, MozartClient
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant
|
||||
@ -202,12 +202,15 @@ class BangOlufsenWebsocket(BangOlufsenBase):
|
||||
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."""
|
||||
|
||||
# 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)
|
||||
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
|
||||
|
||||
# homeassistant.components.bang_olufsen
|
||||
mozart-api==4.1.1.116.0
|
||||
mozart-api==4.1.1.116.3
|
||||
|
||||
# homeassistant.components.mullvad
|
||||
mullvad-api==1.0.0
|
||||
|
@ -1172,7 +1172,7 @@ motionblindsble==0.1.2
|
||||
motioneye-client==0.3.14
|
||||
|
||||
# homeassistant.components.bang_olufsen
|
||||
mozart-api==4.1.1.116.0
|
||||
mozart-api==4.1.1.116.3
|
||||
|
||||
# homeassistant.components.mullvad
|
||||
mullvad-api==1.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user