diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index c4bd379..e1d0294 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -34,6 +34,8 @@ jobs: run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_cool.yaml - name: Validate nspanel_esphome_addon_climate_heat.yaml run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml + - name: Validate nspanel_esphome_addon_climate_dual.yaml + run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_dual.yaml build_core: name: Core @@ -83,6 +85,18 @@ jobs: with: yaml_file: "./.test/esphome_climate_cool.yaml" + build_climate_dual: + name: Climate (dual) + runs-on: "ubuntu-latest" + needs: + - build_core + steps: + - uses: actions/checkout@v4.1.0 + - name: Build core+climate_dual + uses: esphome/build-action@v1.8.0 + with: + yaml_file: "./.test/esphome_climate_dual.yaml" + build_climate_heat_advanced: name: Advanced+climate (heat) runs-on: "ubuntu-latest" diff --git a/.github/workflows/validate_esphome_beta.yml b/.github/workflows/validate_esphome_beta.yml index 2b0f21e..4b1f0ba 100644 --- a/.github/workflows/validate_esphome_beta.yml +++ b/.github/workflows/validate_esphome_beta.yml @@ -38,6 +38,8 @@ jobs: run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_cool.yaml - name: Validate nspanel_esphome_addon_climate_heat.yaml run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml + - name: Validate nspanel_esphome_addon_climate_dual.yaml + run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_dual.yaml build_core: name: Core @@ -91,6 +93,19 @@ jobs: yaml_file: "./.test/esphome_climate_cool.yaml" version: beta + build_climate_dual: + name: Climate (dual) + runs-on: "ubuntu-latest" + needs: + - build_core + steps: + - uses: actions/checkout@v4.1.0 + - name: Build core+climate_dual + uses: esphome/build-action@v1.8.0 + with: + yaml_file: "./.test/esphome_climate_dual.yaml" + version: beta + build_climate_heat_advanced: name: Advanced+climate (heat) runs-on: "ubuntu-latest" diff --git a/.test/esphome_advanced.yaml b/.test/esphome_advanced.yaml index 5988896..a220a91 100644 --- a/.test/esphome_advanced.yaml +++ b/.test/esphome_advanced.yaml @@ -9,3 +9,4 @@ packages: advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml diff --git a/.test/esphome_advanced_climate_cool_esp_idf.yaml b/.test/esphome_advanced_climate_cool_esp_idf.yaml index e6dd2cf..32fb9e8 100644 --- a/.test/esphome_advanced_climate_cool_esp_idf.yaml +++ b/.test/esphome_advanced_climate_cool_esp_idf.yaml @@ -9,6 +9,7 @@ packages: advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml esp32: framework: diff --git a/.test/esphome_advanced_climate_cool_esp_idf5.yaml b/.test/esphome_advanced_climate_cool_esp_idf5.yaml index 315eb20..d5d23a3 100644 --- a/.test/esphome_advanced_climate_cool_esp_idf5.yaml +++ b/.test/esphome_advanced_climate_cool_esp_idf5.yaml @@ -9,6 +9,7 @@ packages: advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml esp32: framework: diff --git a/.test/esphome_advanced_climate_heat.yaml b/.test/esphome_advanced_climate_heat.yaml index e01fa20..2267551 100644 --- a/.test/esphome_advanced_climate_heat.yaml +++ b/.test/esphome_advanced_climate_heat.yaml @@ -9,3 +9,4 @@ packages: advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml diff --git a/.test/esphome_advanced_climate_heat_customizations.yaml b/.test/esphome_advanced_climate_heat_customizations.yaml index 0212ce8..775b167 100644 --- a/.test/esphome_advanced_climate_heat_customizations.yaml +++ b/.test/esphome_advanced_climate_heat_customizations.yaml @@ -10,6 +10,7 @@ packages: advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml ##### Customizations from Wiki ##### api: diff --git a/.test/esphome_climate_cool.yaml b/.test/esphome_climate_cool.yaml index dc6ca1c..dc5f05f 100644 --- a/.test/esphome_climate_cool.yaml +++ b/.test/esphome_climate_cool.yaml @@ -9,3 +9,4 @@ packages: #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml diff --git a/.test/esphome_climate_dual.yaml b/.test/esphome_climate_dual.yaml new file mode 100644 index 0000000..4f2edf5 --- /dev/null +++ b/.test/esphome_climate_dual.yaml @@ -0,0 +1,12 @@ +substitutions: + device_name: nspanel + wifi_ssid: "nspanel" + wifi_password: "NSPanel_HA_Blueprint" + nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" + +packages: + core_package: !include ../nspanel_esphome.yaml # Core package + #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml + #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml + #addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml diff --git a/.test/esphome_climate_heat.yaml b/.test/esphome_climate_heat.yaml index 3224ad5..153240e 100644 --- a/.test/esphome_climate_heat.yaml +++ b/.test/esphome_climate_heat.yaml @@ -9,3 +9,4 @@ packages: #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml diff --git a/.test/esphome_core.yaml b/.test/esphome_core.yaml index b10ca84..cf0cc6d 100644 --- a/.test/esphome_core.yaml +++ b/.test/esphome_core.yaml @@ -9,3 +9,4 @@ packages: #advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml #addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml #addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml + #addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml