Expose sensors to HA
This commit is contained in:
@@ -21,22 +21,12 @@ button:
|
||||
icon: mdi:file-sync
|
||||
id: tft_reparse_off
|
||||
entity_category: config
|
||||
internal: False
|
||||
disabled_by_default: true
|
||||
on_press:
|
||||
- logger.log: "Button pressed: Exit reparse"
|
||||
- script.execute: exit_reparse
|
||||
|
||||
##### UPDATE TFT BLANK DISPLAY #####
|
||||
- name: ${name} Update TFT display (blank)
|
||||
platform: template
|
||||
icon: mdi:file-sync
|
||||
id: tft_update_blank
|
||||
entity_category: config
|
||||
on_press:
|
||||
- lambda: |-
|
||||
static const char *const TAG = "button.tft_update_blank";
|
||||
ESP_LOGD(TAG, "Button pressed: Update TFT display (blank)");
|
||||
upload_tft->execute("${nextion_blank_url}");
|
||||
|
||||
captive_portal:
|
||||
|
||||
sensor:
|
||||
@@ -70,7 +60,9 @@ text_sensor:
|
||||
##### ESPhome version used to compile the app #####
|
||||
- name: ${name} ESPhome Version
|
||||
platform: version
|
||||
disabled_by_default: true
|
||||
disabled_by_default: false
|
||||
internal: false
|
||||
icon: mdi:tag-text-outline
|
||||
|
||||
- platform: wifi_info
|
||||
ip_address:
|
||||
|
||||
Reference in New Issue
Block a user