1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-08 22:32:21 +01:00

Add ANNOUNCING state to media_player. (#6691)

This commit is contained in:
Mischa Siekmann
2024-05-14 11:40:08 +02:00
committed by GitHub
parent d5eeab81d6
commit 6f53607e5a
11 changed files with 76 additions and 7 deletions

View File

@@ -1298,6 +1298,8 @@ class MediaPlayerCommandRequest : public ProtoMessage {
float volume{0.0f};
bool has_media_url{false};
std::string media_url{};
bool has_announcement{false};
bool announcement{false};
void encode(ProtoWriteBuffer buffer) const override;
#ifdef HAS_PROTO_MESSAGE_DUMP
void dump_to(std::string &out) const override;