upd: add service upload_tft_url

This commit is contained in:
Chris
2023-01-12 19:07:04 +01:00
parent fbbb10b4e8
commit a823bf9739

View File

@@ -125,6 +125,14 @@ api:
then:
- lambda: 'id(disp1)->upload_tft();'
##### SERVICE TO UPDATE THE TFT FILE from URL #####
- service: upload_tft_url
variables:
url: string
then:
- lambda: 'id(disp1)->set_tft_url(url.c_str());'
- lambda: 'id(disp1)->upload_tft();'
##### Service to send a command "printf" directly to the display #####
- service: send_command_printf
variables: