aioesphomeapi
aioesphomeapi copied to clipboard
Extend Functionality of Media_Player
What does this implement/fix?
Lays the ground work for child components of Media Player to be built with a richer set of capability.
Description
Extends Media Player component to support the following commands in child components:
- Next Track
- Previous Track
- Turn On
- Turn Off
- Clear Playlist
- Shuffle
- Unshuffle
- Repeat Off
- Repeat One
- Repeat All
- Join
- Unjoin
Traits are extended to include:
- supports next/previous track
- supports turn off/on
- supports grouping
Requires the following pull requests: https://github.com/esphome/esphome-docs/pull/4090 https://github.com/esphome/esphome/pull/7158 https://github.com/home-assistant/core/pull/122799