Class Mycila::HA::Climate¶
ClassList > Mycila > HA > Climate
#include <MycilaHADiscovery.h>
Inherits the following classes: Mycila::HA::Component
Public Attributes¶
| Type | Name |
|---|---|
| const char * | actionTemplate = nullptr |
| std::string | actionTopic |
| const char * | currentTemperatureTemplate = nullptr |
| std::string | currentTemperatureTopic |
| std::optional< float > | maxTemp |
| std::optional< float > | minTemp |
| const char * | modeCommandTemplate = nullptr |
| std::string | modeCommandTopic |
| const char * | modeStateTemplate = nullptr |
| std::string | modeStateTopic |
| std::vector< const char * > | modes |
| const char * | payloadOff = nullptr |
| const char * | payloadOn = nullptr |
| const char * | powerCommandTemplate = nullptr |
| std::string | powerCommandTopic |
| const char * | presetModeCommandTemplate = nullptr |
| std::string | presetModeCommandTopic |
| std::string | presetModeStateTopic |
| const char * | presetModeValueTemplate = nullptr |
| std::vector< const char * > | presetModes |
| std::optional< float > | tempStep |
| const char * | temperatureCommandTemplate = nullptr |
| std::string | temperatureCommandTopic |
| const char * | temperatureStateTemplate = nullptr |
| std::string | temperatureStateTopic |
| const char * | temperatureUnit = nullptr |
| const char * | valueTemplate = nullptr |
Public Attributes inherited from Mycila::HA::Component¶
| Type | Name |
|---|---|
| const char * | availabilityTemplate = nullptr |
| std::string | availabilityTopic |
| Category | category |
| std::string | configTopic |
| std::string | defaultEntityId |
| const char * | deviceClass |
| std::optional< bool > | enabledByDefault |
| const char * | icon |
| std::string | id |
| std::string | name |
| const char * | payloadAvailable = nullptr |
| const char * | payloadNotAvailable = nullptr |
| const char * | type |
| std::string | uniqueId |
| bool | useDeviceAvailability = true |
Public Functions¶
| Type | Name |
|---|---|
| Climate (std::string id) |
|
| Climate (std::string id, std::string name, const char * icon=nullptr, const Category category=Category::NONE) |
|
| virtual void | toJson (const JsonObject & root) override |
| virtual | ~Climate () = default |
Public Functions inherited from Mycila::HA::Component¶
| Type | Name |
|---|---|
| Component (const char * type, std::string id, std::string name, const char * deviceClass=nullptr, const char * icon=nullptr, const Category category=Category::NONE) |
|
| Component (const char * type, std::string id) |
|
| virtual void | toJson (const JsonObject & root) |
| virtual | ~Component () = default |
Public Attributes Documentation¶
variable actionTemplate¶
variable actionTopic¶
variable currentTemperatureTemplate¶
variable currentTemperatureTopic¶
variable maxTemp¶
variable minTemp¶
variable modeCommandTemplate¶
variable modeCommandTopic¶
variable modeStateTemplate¶
variable modeStateTopic¶
variable modes¶
variable payloadOff¶
variable payloadOn¶
variable powerCommandTemplate¶
variable powerCommandTopic¶
variable presetModeCommandTemplate¶
variable presetModeCommandTopic¶
variable presetModeStateTopic¶
variable presetModeValueTemplate¶
variable presetModes¶
variable tempStep¶
variable temperatureCommandTemplate¶
variable temperatureCommandTopic¶
variable temperatureStateTemplate¶
variable temperatureStateTopic¶
variable temperatureUnit¶
variable valueTemplate¶
Public Functions Documentation¶
function Climate [1/2]¶
function Climate [2/2]¶
inline Mycila::HA::Climate::Climate (
std::string id,
std::string name,
const char * icon=nullptr,
const Category category=Category::NONE
)
function toJson¶
Implements Mycila::HA::Component::toJson
function ~Climate¶
The documentation for this class was generated from the following file src/MycilaHADiscovery.h