Merge pull request #182 from deejaybeam/dev

upd: add service upload_tft_url
This commit is contained in:
Chris
2023-01-12 19:12:03 +01:00
committed by GitHub

View File

@@ -124,6 +124,14 @@ api:
- service: upload_tft
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