Move on_touch logs to VERBOSE

This commit is contained in:
Edward Firmo
2023-12-17 12:50:38 +01:00
parent a2dc5913fa
commit 5c0eb29f21

View File

@@ -777,10 +777,10 @@ display:
on_touch: on_touch:
lambda: |- lambda: |-
static const char *const TAG = "display.disp1.on_touch"; static const char *const TAG = "display.disp1.on_touch";
ESP_LOGD(TAG, "Nextion touch event detected!"); // To do: Change log level to VERBOSE ESP_LOGV(TAG, "Nextion touch event detected!");
ESP_LOGD(TAG, "Page: %s", id(page_names)[page_id].c_str()); ESP_LOGV(TAG, "Page: %s", id(page_names)[page_id].c_str());
ESP_LOGD(TAG, "Component Id: %i", component_id); ESP_LOGV(TAG, "Component Id: %i", component_id);
ESP_LOGD(TAG, "Event type: %s", touch_event ? "Press" : "Release"); ESP_LOGV(TAG, "Event type: %s", touch_event ? "Press" : "Release");
timer_reset_all->execute(id(page_names)[page_id].c_str()); timer_reset_all->execute(id(page_names)[page_id].c_str());
##### START - GLOBALS CONFIGURATION ##### ##### START - GLOBALS CONFIGURATION #####
@@ -2293,7 +2293,7 @@ script:
- id: page_alarm - id: page_alarm
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_blank - id: page_blank
mode: restart mode: restart
@@ -2335,7 +2335,7 @@ script:
parameters: parameters:
page_number: uint page_number: uint
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_buttonpage01 - id: page_buttonpage01
mode: restart mode: restart
then: then:
@@ -2364,24 +2364,24 @@ script:
- id: page_climate - id: page_climate
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_confirm - id: page_confirm
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_cover - id: page_cover
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_entitypage - id: page_entitypage
mode: restart mode: restart
parameters: parameters:
page_number: uint page_number: uint
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_entitypage01 - id: page_entitypage01
mode: restart mode: restart
then: then:
@@ -2410,7 +2410,7 @@ script:
- id: page_fan - id: page_fan
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_home - id: page_home
mode: restart mode: restart
@@ -2430,17 +2430,17 @@ script:
- id: page_keyb_num - id: page_keyb_num
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_light - id: page_light
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_media_player - id: page_media_player
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_notification - id: page_notification
mode: restart mode: restart
@@ -2454,7 +2454,7 @@ script:
- id: page_qrcode - id: page_qrcode
mode: restart mode: restart
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_screensaver - id: page_screensaver
mode: restart mode: restart
@@ -2491,7 +2491,7 @@ script:
parameters: parameters:
page_number: uint page_number: uint
then: then:
# There's nothing to do here so far # There's nothing here so far
- id: page_weather01 - id: page_weather01
mode: restart mode: restart
then: then: