8 namespace media_player {
15 this->
parent_->make_call().set_command(Command).set_announcement(this->announcement_.value(
x...)).perform();
19 template<
typename... Ts>
21 template<
typename... Ts>
23 template<
typename... Ts>
25 template<
typename... Ts>
27 template<
typename... Ts>
29 template<
typename... Ts>
35 void play(Ts...
x)
override {
37 .set_media_url(this->media_url_.value(
x...))
38 .set_announcement(this->announcement_.value(
x...))
45 void play(Ts...
x)
override { this->
parent_->make_call().set_volume(this->volume_.value(
x...)).perform(); }
Base class for all automation conditions.
Implementation of SPI Controller mode.
Helper class to easily give an object a parent of type T.