From 9fb3291abac40ad97b85ec4cdb216a02e629dffa Mon Sep 17 00:00:00 2001 From: Blackymas Date: Mon, 7 Nov 2022 09:19:50 +0100 Subject: [PATCH] github --- esphome.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/esphome.yaml b/esphome.yaml index 383a4cb..351ee85 100644 --- a/esphome.yaml +++ b/esphome.yaml @@ -153,9 +153,12 @@ services: ##### SERVICE TO UPDATE THE HMI FILE ##### - - service: upload_tft - then: - - lambda: 'id(disp1)->upload_tft();' + - service: upload_tft + variables: + url: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/dev/nspanel.tft + then: + - lambda: |- + id(nspanel).upload_tft(url); ##### Service to send a command "printf" directly to the display. Useful for testing ##### - service: send_command_printf