ESPHome
2026.12.0-dev
Loading...
Searching...
No Matches
esphome
components
homeassistant
button
homeassistant_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/button/button.h
"
4
5
namespace
esphome::homeassistant
{
6
8
void
press_button_entity
(button::Button *button,
const
char
*
entity_id
);
9
10
}
// namespace esphome::homeassistant
button.h
esphome::homeassistant
Definition
homeassistant_binary_sensor.cpp:7
esphome::homeassistant::entity_id
static void const char * entity_id
Definition
homeassistant_sensor.cpp:13
esphome::homeassistant::press_button_entity
void press_button_entity(button::Button *button, const char *entity_id)
Ask Home Assistant to press entity_id, with input_button.press for an input_button helper.
Definition
homeassistant_button.cpp:15
Generated by
1.12.0