1 Commits

Author SHA1 Message Date
02ec02edcc Version 1.0.7
Fixed small bug.
Updated some components.
2024-07-25 10:46:28 +03:00
7 changed files with 6 additions and 7 deletions

View File

@ -638,7 +638,6 @@ void zh_espnow_event_handler(void *arg, esp_event_base_t event_base, int32_t eve
switch_config->hardware_config.sensor_type = data->payload_data.config_message.switch_hardware_config_message.sensor_type; switch_config->hardware_config.sensor_type = data->payload_data.config_message.switch_hardware_config_message.sensor_type;
switch_config->hardware_config.measurement_frequency = data->payload_data.config_message.switch_hardware_config_message.measurement_frequency; switch_config->hardware_config.measurement_frequency = data->payload_data.config_message.switch_hardware_config_message.measurement_frequency;
zh_save_config(switch_config); zh_save_config(switch_config);
switch_config->gateway_is_available = false;
if (switch_config->hardware_config.relay_pin != ZH_NOT_USED) if (switch_config->hardware_config.relay_pin != ZH_NOT_USED)
{ {
vTaskDelete(switch_config->switch_attributes_message_task); vTaskDelete(switch_config->switch_attributes_message_task);

View File

@ -1 +1 @@
1.0.6 1.0.7