From 9e028ef40bdc306b119355a128e5cb03474a3173 Mon Sep 17 00:00:00 2001 From: Blackymas Date: Mon, 7 Nov 2022 09:45:06 +0100 Subject: [PATCH] esphome github --- esphome.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/esphome.yaml b/esphome.yaml index d3c2da8..383a4cb 100644 --- a/esphome.yaml +++ b/esphome.yaml @@ -152,13 +152,10 @@ api: services: - ##### SERVICE TO UPDATE THE TFT FILE ##### - - service: upload_tft - variables: - url: string - then: - - lambda: |- - id(disp1).upload_tft(url); + ##### SERVICE TO UPDATE THE HMI FILE ##### + - service: upload_tft + then: + - lambda: 'id(disp1)->upload_tft();' ##### Service to send a command "printf" directly to the display. Useful for testing ##### - service: send_command_printf