Skip to content

Commit

Permalink
Move is_embedded_thermostat to climate_base
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Oct 16, 2024
1 parent 579390e commit d94518a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 8 additions & 0 deletions esphome/nspanel_esphome_addon_climate_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,14 @@ script:
if (current_page->state == "climate")
id(is_addon_climate_visible) = embedded_climate;
- id: !extend set_var_bool
then:
- lambda: |-
if (component == "is_embedded_thermostat") {
id(is_embedded_thermostat) = val;
boot_progress->execute(${BOOT_STEP_BASE}, "Base");
}
- id: !extend set_var_string
then:
- lambda: |-
Expand Down
7 changes: 1 addition & 6 deletions esphome/nspanel_esphome_core_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,7 @@ script:
parameters:
component: string
val: bool
then:
- lambda: |-
if (component == "is_embedded_thermostat") {
id(is_embedded_thermostat) = val;
boot_progress->execute(${BOOT_STEP_BASE}, "Base");
}
then: # There's nothing here so far

- id: set_var_int
mode: queued
Expand Down

0 comments on commit d94518a

Please sign in to comment.