Use component nspanel_ha_blueprint from dev
To update page list
This commit is contained in:
@@ -27,7 +27,7 @@ external_components:
|
||||
# path: packages/Blackymas/components
|
||||
type: git
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: main
|
||||
ref: dev # To do: Change to "main" when releasing
|
||||
components:
|
||||
- nspanel_ha_blueprint
|
||||
refresh: 300s
|
||||
@@ -2462,6 +2462,11 @@ script:
|
||||
mode: restart
|
||||
then:
|
||||
- lambda: |-
|
||||
#if ESPHOME_LOG_LEVEL > ESPHOME_LOG_LEVEL_DEBUG
|
||||
ESP_LOGV("script.refresh_hardware_buttons_bars", "Page: %s", current_page->state.c_str());
|
||||
ESP_LOGV("script.refresh_hardware_buttons_bars", "Page id: %i", get_page_id(current_page->state.c_str()));
|
||||
ESP_LOGV("script.refresh_hardware_buttons_bars", "buttons_bars_pages: %i", id(buttons_bars_pages));
|
||||
#endif
|
||||
if (!id(is_uploading_tft) and ((id(buttons_bars_pages) & (1 << get_page_id(current_page->state.c_str()))) != 0)) {
|
||||
switch (int(display_mode->state)) {
|
||||
case 1: // EU model
|
||||
|
||||
Reference in New Issue
Block a user