Button entity that sends the protocol's favorite or My-position command.
More...
#include <platform_cover_favorite_button.h>
|
| void | set_parent (IOHomeControlComponent *parent) |
| | Set the parent controller component.
|
| void | set_device_id (const std::string &id) |
| | Set the device ID controlled by this button.
|
| void | setup () override |
| | Initialize the generated button.
|
| void | dump_config () override |
| | Dump button configuration to the log.
|
| float | get_setup_priority () const override |
| | Get setup priority so the parent hub is available first.
|
|
| void | press_action () override |
| | Handle a Home Assistant button press by queueing a favorite-position command.
|
Button entity that sends the protocol's favorite or My-position command.
Definition at line 18 of file platform_cover_favorite_button.h.
◆ dump_config()
| void esphome::home_io_control::IOHomeCoverFavoriteButton::dump_config |
( |
| ) |
|
|
override |
◆ get_setup_priority()
| float esphome::home_io_control::IOHomeCoverFavoriteButton::get_setup_priority |
( |
| ) |
const |
|
inlinenodiscardoverride |
◆ press_action()
| void esphome::home_io_control::IOHomeCoverFavoriteButton::press_action |
( |
| ) |
|
|
overrideprotected |
◆ set_device_id()
| void esphome::home_io_control::IOHomeCoverFavoriteButton::set_device_id |
( |
const std::string & | id | ) |
|
|
inline |
◆ set_parent()
◆ setup()
| void esphome::home_io_control::IOHomeCoverFavoriteButton::setup |
( |
| ) |
|
|
inlineoverride |
◆ device_id_
| std::string esphome::home_io_control::IOHomeCoverFavoriteButton::device_id_ |
|
protected |
◆ parent_
The documentation for this class was generated from the following files: