|
EnigmaIOT
0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
|
Defines an entity for Home Assistant autodiscovery. More...
#include <Arduino.h>#include "EnigmaIoTconfig.h"#include <ArduinoJson.h>#include <EnigmaIOTdebug.h>#include <helperFunctions.h>Go to the source code of this file.
Classes | |
| class | HAEntity |
Variables | |
| constexpr auto | ha_device_type = "type" |
| constexpr auto | ha_device_class = "dev_cla" |
| constexpr auto | ha_payload_on = "pl_on" |
| constexpr auto | ha_payload_off = "pl_off" |
| constexpr auto | ha_value_key = "val" |
| constexpr auto | ha_value_template = "val_tpl" |
| constexpr auto | ha_expiration = "exp_aft" |
| constexpr auto | ha_payload_open = "pl_open" |
| constexpr auto | ha_payload_close = "pl_cls" |
| constexpr auto | ha_payload_stop = "pl_stop" |
| constexpr auto | ha_set_position_template = "set_pos_tpl" |
| constexpr auto | ha_position_open = "pos_open" |
| constexpr auto | ha_position_closed = "pos_clsd" |
| constexpr auto | ha_payload_goto = "pl_goto" |
| constexpr auto | ha_payload = "pl" |
| constexpr auto | ha_state_open = "stat_open" |
| constexpr auto | ha_state_opening = "stat_opening" |
| constexpr auto | ha_state_closed = "stat_clsd" |
| constexpr auto | ha_state_closing = "stat_closing" |
| constexpr auto | ha_state_stopped = "stat_stopped" |
| constexpr auto | ha_state_on = "stat_on" |
| constexpr auto | ha_state_off = "stat_off" |
| constexpr auto | ha_off_delay = "off_dly" |
| constexpr auto | ha_unit_of_measurement = "unit_of_meas" |
| constexpr auto | ha_name_sufix = "nmsfx" |
| constexpr auto | ha_allow_attrib = "attr" |
| constexpr auto | ha_type = "ttype" |
| constexpr auto | ha_subtype = "tstype" |
Defines an entity for Home Assistant autodiscovery.
Definition in file haEntity.h.
Definition at line 73 of file haEntity.h.
| enum haCoverClass_t |
| Enumerator | |
|---|---|
| cover_none | |
| cover_awning | |
| cover_blind | |
| cover_curtain | |
| cover_damper | |
| cover_door | |
| cover_garage | |
| cover_gate | |
| cover_shade | |
| cover_shutter | |
| cover_window | |
Definition at line 102 of file haEntity.h.
| enum haDeviceType_t |
| Enumerator | |
|---|---|
| UNDEFINED | |
| ALARM_PANEL | |
| BINARY_SENSOR | |
| CAMERA | |
| COVER | |
| DEVICE_TRACKER | |
| DEVICE_TRIGGER | |
| FAN | |
| HVAC | |
| LIGHT | |
| LOCK | |
| SCENE | |
| SENSOR | |
| SWITCH | |
| TAG_SCANNER | |
| VACUUM | |
Definition at line 53 of file haEntity.h.
| enum haSensorClass_t |
Definition at line 116 of file haEntity.h.
|
constexpr |
Definition at line 48 of file haEntity.h.
|
constexpr |
Definition at line 24 of file haEntity.h.
|
constexpr |
Definition at line 23 of file haEntity.h.
|
constexpr |
Definition at line 29 of file haEntity.h.
|
constexpr |
Definition at line 47 of file haEntity.h.
|
constexpr |
Definition at line 45 of file haEntity.h.
|
constexpr |
Definition at line 37 of file haEntity.h.
|
constexpr |
Definition at line 31 of file haEntity.h.
|
constexpr |
Definition at line 36 of file haEntity.h.
|
constexpr |
Definition at line 26 of file haEntity.h.
|
constexpr |
Definition at line 25 of file haEntity.h.
|
constexpr |
Definition at line 30 of file haEntity.h.
|
constexpr |
Definition at line 32 of file haEntity.h.
|
constexpr |
Definition at line 35 of file haEntity.h.
|
constexpr |
Definition at line 34 of file haEntity.h.
|
constexpr |
Definition at line 33 of file haEntity.h.
|
constexpr |
Definition at line 40 of file haEntity.h.
|
constexpr |
Definition at line 41 of file haEntity.h.
|
constexpr |
Definition at line 44 of file haEntity.h.
|
constexpr |
Definition at line 43 of file haEntity.h.
|
constexpr |
Definition at line 38 of file haEntity.h.
|
constexpr |
Definition at line 39 of file haEntity.h.
|
constexpr |
Definition at line 42 of file haEntity.h.
|
constexpr |
Definition at line 50 of file haEntity.h.
|
constexpr |
Definition at line 49 of file haEntity.h.
|
constexpr |
Definition at line 46 of file haEntity.h.
|
constexpr |
Definition at line 27 of file haEntity.h.
|
constexpr |
Definition at line 28 of file haEntity.h.