upd: add service upload_tft_url
This commit is contained in:
@@ -124,6 +124,14 @@ api:
|
|||||||
- service: upload_tft
|
- service: upload_tft
|
||||||
then:
|
then:
|
||||||
- lambda: 'id(disp1)->upload_tft();'
|
- 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 to send a command "printf" directly to the display #####
|
||||||
- service: send_command_printf
|
- service: send_command_printf
|
||||||
|
|||||||
Reference in New Issue
Block a user