|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Handle to a Update entity. More...
#include <entity_handles.hpp>


Public Member Functions | |
| std::optional< UpdateInfo > | info () const |
| std::optional< UpdateState > | state () const |
| std::string | device_class () const |
| bool | missing_state () const |
| bool | in_progress () const |
| bool | has_progress () const |
| float | progress () const |
| std::string | current_version () const |
| std::string | latest_version () const |
| std::string | title () const |
| std::string | release_summary () const |
| std::string | release_url () const |
| void | command (UpdateControl c) const |
| Send a fully-specified command (its key is set automatically). | |
| void | install () const |
| void | check () const |
Public Member Functions inherited from esphome::api::TypedEntity< UpdateEntity > | |
| std::string | icon () const |
| bool | disabled_by_default () const |
| EntityCategory | entity_category () const |
| std::uint32_t | device_id () const |
| Entity (Client &client, const std::uint32_t key, std::string object_id, std::string name) | |
Public Member Functions inherited from esphome::api::Entity | |
| Entity (Client &client, const std::uint32_t key, std::string object_id, std::string name) | |
| std::uint32_t | key () const noexcept |
| const std::string & | object_id () const noexcept |
| const std::string & | name () const noexcept |
Static Public Member Functions | |
| static constexpr EntityType | type () |
Additional Inherited Members | |
Protected Attributes inherited from esphome::api::Entity | |
| Client * | client_ |
| std::uint32_t | key_ |
| std::string | object_id_ |
| std::string | name_ |
Handle to a Update entity.
|
inline |
|
inline |
Send a fully-specified command (its key is set automatically).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |