TFT upload selectors
This commit is contained in:
@@ -2,8 +2,6 @@ substitutions:
|
||||
device_name: nspanel
|
||||
wifi_ssid: "nspanel"
|
||||
wifi_password: "NSPanel_HA_Blueprint"
|
||||
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
|
||||
nextion_update_blank_url: "http://homeassistant.local:8123/local/nspanel/dev/nspanel_blank.tft"
|
||||
|
||||
packages:
|
||||
core_package: !include ../nspanel_esphome.yaml # Core package
|
||||
@@ -32,21 +30,6 @@ binary_sensor:
|
||||
bluetooth_proxy:
|
||||
|
||||
button:
|
||||
##### UPDATE TFT BLANK DISPLAY #####
|
||||
#- name: ${device_name} Update TFT display (blank)
|
||||
# platform: template
|
||||
# icon: mdi:file-sync
|
||||
# id: tft_update_blank
|
||||
# entity_category: config
|
||||
# on_press:
|
||||
# - logger.log: "Button pressed: Update TFT display (blank)"
|
||||
# - binary_sensor.template.publish:
|
||||
# id: nextion_init
|
||||
# state: false
|
||||
# - delay: 16ms
|
||||
# - lambda: |-
|
||||
# id(disp1)->set_tft_url("${nextion_update_blank_url}");
|
||||
# id(disp1).upload_tft();
|
||||
# Adds a button to put the panel to sleep
|
||||
- name: ${device_name} Sleep
|
||||
id: force_sleep
|
||||
|
||||
Reference in New Issue
Block a user