Version 2.0.5

Added sensor measurement frequency in switch hardware configuration.
This commit is contained in:
Alexey Zholtikov 2024-07-19 15:10:38 +03:00
parent db717bf6ee
commit 230a5cfd6a
2 changed files with 12 additions and 11 deletions

View File

@ -540,6 +540,7 @@ typedef struct // Structure for data exchange between ESP-NOW devices.
bool ext_button_on_level; // External button trigger level (if present). @note HIGH (true) / LOW (false).
uint8_t sensor_pin; // Sensor GPIO number (if present).
ha_sensor_type_t sensor_type; // Sensor type (if present). @note Used to identify the sensor type by ESP-NOW gateway and send the appropriate sensor status messages to MQTT.
uint16_t measurement_frequency; // Sensor measurement frequency (if present).
} switch_hardware_config_message;
} config_message;
union // Secondary union of structures of any status messages. @attention Not used in this view. Should be converted to the required tertiary structure.

View File

@ -1 +1 @@
2.0.4
2.0.5