Contextual Pico Media Remote by Talvish
This blueprint creates an automation allowing a Lutron Caseta 5 button Pico remote to contextually control music or an Xbox. It assumes Sonos speakers are being used, and the same speakers are used for both music and the Xbox. In my configuration I have an Xbox attached to a TV that has Sonos speakers attached via an HDMI Arc/eArc channel. <br> <br> When the Xbox is on, the remote's on (top) and off (bottom) buttons map to the Xbox A and B buttons respectively. This is great, particularly in media apps, since A is used to select, play or pause while B is used to stop or go back. <br> <br> When the Xbox is not powered, on (top) is mapped to playing / pausing music and off (bottom) is mapped to going to the next music track. <br> <br> For both Xbox and music playback the raise (up arrow) button increases speaker volume and lower (down arrow) button decreases speaker volume. While favourite / stop (round middle) button is configurable.
Import to Home Assistant
Click to import this blueprint directly into your Home Assistant instance.
Configuration
Requires 9 inputs to configure
Source Code
View on GitHubDetails
Explore More
Related Blueprints
More button actions automations you might like