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