diff --git a/main/zh_espnow_switch.h b/main/zh_espnow_switch.h index 3453321..7cad0d0 100644 --- a/main/zh_espnow_switch.h +++ b/main/zh_espnow_switch.h @@ -48,7 +48,7 @@ #define ZH_SWITCH_KEEP_ALIVE_MESSAGE_FREQUENCY 10 // Frequency of sending a switch keep alive message to the gateway (in seconds). #define ZH_SWITCH_ATTRIBUTES_MESSAGE_FREQUENCY 60 // Frequency of sending a switch attributes message to the gateway (in seconds). -#define ZH_SENSOR_STATUS_MESSAGE_FREQUENCY 300 // // Frequency of sending a sensor status message to the gateway (in seconds). +#define ZH_SENSOR_STATUS_MESSAGE_FREQUENCY 60 // Frequency of sending a sensor status message to the gateway (in seconds). #define ZH_SENSOR_ATTRIBUTES_MESSAGE_FREQUENCY 60 // Frequency of sending a sensor attributes message to the gateway (in seconds). #define ZH_GPIO_TASK_PRIORITY 3 // Prioritize the task of GPIO processing.