Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Dec 5, 2024
1 parent c97649d commit 55edc0e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions esphome/nspanel_esphome_core_boot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ script:
if (boot_steps[i].registered) {
// Calculate padding based on the actual length of the name
const int8_t padding = std::max(0, 21 - static_cast<int>(strlen(boot_steps[i].name)));
ESP_LOGI("script", " - %s:%*s%s", boot_steps[i].name, padding, "",
boot_steps[i].completed ? "Completed" : "PENDING");
ESP_LOGI("script", " - %s:%*s%s", boot_steps[i].name, padding, "",
boot_steps[i].completed ? "Completed" : "PENDING");
}
}
} else {
Expand Down
3 changes: 2 additions & 1 deletion esphome/nspanel_esphome_core_page_screensaver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ script:
- id: !extend boot_package_register
then:
- lambda: boot_package_register_add->execute(${BOOT_STEP_PAGE_SCREENSAVER}, "PAGE_SCREENSAVER", "Page Screensaver");
- lambda: boot_package_register_add->execute(${BOOT_STEP_PAGE_SCREENSAVER},
"PAGE_SCREENSAVER", "Page Screensaver");

- id: !extend display_component_action # Defined by nspanel_esphome_core_hw_display.yaml
then:
Expand Down
12 changes: 9 additions & 3 deletions nspanel_blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10351,7 +10351,9 @@ actions:
continue_on_error: true

- alias: BOOT_STEP_PAGE_SETTINGS
if: '{{ nspanel_event.BOOT_STEP_PAGE_SETTINGS is defined and nspanel_event.BOOT_STEP_PAGE_SETTINGS }}'
if: >
- '{{ nspanel_event.BOOT_STEP_PAGE_SETTINGS is defined }}'
- '{{ nspanel_event.BOOT_STEP_PAGE_SETTINGS }}'
then:
- *boot_delay
- *delay_default
Expand Down Expand Up @@ -10405,7 +10407,9 @@ actions:
continue_on_error: true

- alias: BOOT_STEP_PAGE_UTILITIES
if: '{{ nspanel_event.BOOT_STEP_PAGE_UTILITIES is defined and nspanel_event.BOOT_STEP_PAGE_UTILITIES }}'
if: >
- '{{ nspanel_event.BOOT_STEP_PAGE_UTILITIES is defined }}'
- '{{ nspanel_event.BOOT_STEP_PAGE_UTILITIES }}'
then:
- *boot_delay

Expand Down Expand Up @@ -10443,7 +10447,9 @@ actions:
continue_on_error: true

- alias: BOOT_STEP_PAGE_WEATHER
if: '{{ nspanel_event.BOOT_STEP_PAGE_WEATHER is defined and nspanel_event.BOOT_STEP_PAGE_WEATHER }}'
if: >
- '{{ nspanel_event.BOOT_STEP_PAGE_WEATHER is defined }}'
- '{{ nspanel_event.BOOT_STEP_PAGE_WEATHER }}'
then:
- *boot_delay
- alias: Set BOOT_STEP_PAGE_WEATHER
Expand Down

0 comments on commit 55edc0e

Please sign in to comment.