|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Static description of a number entity. More...
#include <number.hpp>


Public Attributes | |
| float | min_value = 0.0F |
| float | max_value = 0.0F |
| float | step = 0.0F |
| std::string | unit_of_measurement |
| NumberMode | mode = NumberMode::Auto |
| std::string | device_class |
Public Attributes inherited from esphome::api::EntityInfo | |
| std::uint32_t | key = 0 |
| Stable per-entity identifier used to correlate state and command messages. | |
| std::string | object_id |
| std::string | name |
| std::string | icon |
| bool | disabled_by_default = false |
| EntityCategory | entity_category = EntityCategory::None |
| std::uint32_t | device_id = 0 |
| Sub-device id (0 = the root device) when the device exposes sub-devices. | |
Static description of a number entity.
| std::string esphome::api::NumberInfo::device_class |
| float esphome::api::NumberInfo::max_value = 0.0F |
| float esphome::api::NumberInfo::min_value = 0.0F |
| NumberMode esphome::api::NumberInfo::mode = NumberMode::Auto |
| float esphome::api::NumberInfo::step = 0.0F |
| std::string esphome::api::NumberInfo::unit_of_measurement |