diff --git a/source/_integrations/bang_olufsen.markdown b/source/_integrations/bang_olufsen.markdown index 349bdb45072..3b0662c2671 100644 --- a/source/_integrations/bang_olufsen.markdown +++ b/source/_integrations/bang_olufsen.markdown @@ -4,12 +4,14 @@ description: Instructions on how to integrate Bang & Olufsen devices into Home A ha_category: - Media Player - Multimedia + - Event ha_release: 2024.2 ha_iot_class: Local Push ha_domain: bang_olufsen ha_platforms: - diagnostics - media_player + - event ha_codeowners: - '@mj23000' ha_config_flow: true @@ -484,6 +486,30 @@ target: WebSocket notifications received from the device are fired as events in Home Assistant. These can be received by listening to `bang_olufsen_websocket_event` event types, where `device_id` or `serial_number` can be used to differentiate devices. +### Events + +Event entities are created for each of the physical controls on your device. These controls usually have their own behaviors, so using them for automations is not always ideal. +Available event entities: +- Bluetooth +- Microphone +- Next +- Play / Pause +- Favourite 1 +- Favourite 2 +- Favourite 3 +- Favourite 4 +- Previous +- Volume + +All of these event entities support the following event types: +- Release of short press +- Long press +- Release of long press +- Very long press +- Release of very long press + +All devices except the [Beoconnect Core](https://www.bang-olufsen.com/en/dk/accessories/beoconnect-core) support device controls. + ### Getting Deezer URIs To find Deezer playlist, album URIs, and user IDs for Deezer flows, the Deezer website has to be accessed. When navigating to an album, the URL will look something like: , and this needs to be converted to: `album:ALBUM_ID` and the same applies to playlists, which have the format: `playlist:PLAYLIST_ID`.