mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Add documentation for Bang & Olufsen button Event entites (#35062)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
8aa64ed985
commit
cc168b332a
@ -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: <https://www.deezer.com/en/album/ALBUM_ID>, and this needs to be converted to: `album:ALBUM_ID` and the same applies to playlists, which have the format: `playlist:PLAYLIST_ID`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user