Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions source/_integrations/shelly.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ha_category:
- Energy
- Event
- Light
- Media player
- Number
- Select
- Sensor
Expand All @@ -34,6 +35,7 @@ ha_platforms:
- diagnostics
- event
- light
- media_player
- number
- select
- sensor
Expand Down Expand Up @@ -214,6 +216,40 @@ Depending on how a device's button type is configured, the integration will crea

For generation 2+ hardware, it's possible to select if a device's input is connected to a button or a switch. Binary sensors are created only if the **Input Mode** is set to `Switch`. When the **Input Mode** is set to `Button` you need to use events for your automations.

## Media player entities

Wall Display devices with firmware 2.2 or newer can function as media players and the integration creates media player entities for them.
Comment thread
bieniu marked this conversation as resolved.
Outdated

The Wall Display media player can play local audio files (you need to upload them to the Wall Display media library) and internet radio stations that you have added to your favorites in the device interface.
Comment thread
bieniu marked this conversation as resolved.
Outdated

These audio files and your favorite radio stations are visible in the Home Assistant media browser.

### Play media using `media_player.play_media` action
Comment thread
bieniu marked this conversation as resolved.
Outdated

This action will start playing your favorite radio station with ID `2`:

```yaml
action: media_player.play_media
data:
media:
media_content_id: 2
media_content_type: radio
target:
entity_id: media_player.shelly_wall_display
```

This action will start playing your audio file with ID `15`:

```yaml
action: media_player.play_media
data:
media:
media_content_id: 15
media_content_type: audio
target:
entity_id: media_player.shelly_wall_display
```

## Event entities

### Event entities (generation 1)
Expand Down