diff --git a/tests/test1.yaml b/tests/test1.yaml index 7708281109..ecda4bece2 100644 --- a/tests/test1.yaml +++ b/tests/test1.yaml @@ -1122,7 +1122,7 @@ interval: - interval: 2s then: - lambda: |- - static uint16_t btn_left_state = id(btn_left)->get_value(); + uint16_t btn_left_state = id(btn_left)->get_value(); ESP_LOGD("adaptive touch", "___ Touch Pad '%s' (T%u): val: %u state: %u tres:%u", id(btn_left)->get_name().c_str(), id(btn_left)->get_touch_pad(), id(btn_left)->get_value(), btn_left_state, id(btn_left)->get_threshold());