ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
automation.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::media_player::MediaPlayerCommandAction< Command, Ts >
 
class  esphome::media_player::MediaPlayerMediaAction< Command, Ts >
 
class  esphome::media_player::VolumeSetAction< Ts >
 
struct  esphome::media_player::StateAnyForwarder
 Callback forwarder that triggers an Automation<> on any state change. More...
 
struct  esphome::media_player::StateEnterForwarder< State >
 Callback forwarder that triggers an Automation<> only when a specific media player state is entered. More...
 
class  esphome::media_player::IsIdleCondition< Ts >
 
class  esphome::media_player::IsPlayingCondition< Ts >
 
class  esphome::media_player::IsPausedCondition< Ts >
 
class  esphome::media_player::IsAnnouncingCondition< Ts >
 
class  esphome::media_player::IsOnCondition< Ts >
 
class  esphome::media_player::IsOffCondition< Ts >
 
class  esphome::media_player::IsMutedCondition< Ts >
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::media_player
 

Typedefs

template<typename... Ts>
using esphome::media_player::PlayAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_PLAY, Ts...>
 
template<typename... Ts>
using esphome::media_player::PauseAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_PAUSE, Ts...>
 
template<typename... Ts>
using esphome::media_player::StopAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_STOP, Ts...>
 
template<typename... Ts>
using esphome::media_player::ToggleAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_TOGGLE, Ts...>
 
template<typename... Ts>
using esphome::media_player::VolumeUpAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_VOLUME_UP, Ts...>
 
template<typename... Ts>
using esphome::media_player::VolumeDownAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_VOLUME_DOWN, Ts...>
 
template<typename... Ts>
using esphome::media_player::TurnOnAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_TURN_ON, Ts...>
 
template<typename... Ts>
using esphome::media_player::TurnOffAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_TURN_OFF, Ts...>
 
template<typename... Ts>
using esphome::media_player::NextAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_NEXT, Ts...>
 
template<typename... Ts>
using esphome::media_player::PreviousAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_PREVIOUS, Ts...>
 
template<typename... Ts>
using esphome::media_player::MuteAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_MUTE, Ts...>
 
template<typename... Ts>
using esphome::media_player::UnmuteAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_UNMUTE, Ts...>
 
template<typename... Ts>
using esphome::media_player::RepeatOffAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_REPEAT_OFF, Ts...>
 
template<typename... Ts>
using esphome::media_player::RepeatOneAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_REPEAT_ONE, Ts...>
 
template<typename... Ts>
using esphome::media_player::RepeatAllAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_REPEAT_ALL, Ts...>
 
template<typename... Ts>
using esphome::media_player::ShuffleAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_SHUFFLE, Ts...>
 
template<typename... Ts>
using esphome::media_player::UnshuffleAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_UNSHUFFLE, Ts...>
 
template<typename... Ts>
using esphome::media_player::GroupJoinAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_GROUP_JOIN, Ts...>
 
template<typename... Ts>
using esphome::media_player::ClearPlaylistAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_CLEAR_PLAYLIST, Ts...>
 
template<typename... Ts>
using esphome::media_player::PlayMediaAction = MediaPlayerMediaAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_PLAY, Ts...>
 
template<typename... Ts>
using esphome::media_player::EnqueueMediaAction = MediaPlayerMediaAction<MediaPlayerCommand::MEDIA_PLAYER_COMMAND_ENQUEUE, Ts...>