Skip to content

Commit

Permalink
Merge pull request #88 from edwardtfn/revert-to-media-player-as-default
Browse files Browse the repository at this point in the history
Revert to media player and neopixelbus as default
  • Loading branch information
edwardtfn authored Jan 6, 2025
2 parents a59f667 + 8a4009d commit fcbc92a
Show file tree
Hide file tree
Showing 36 changed files with 638 additions and 536 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/validate_esphome_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@ permissions:
on: # yamllint disable-line rule:truthy
push:
paths:
- "**/*.{yml,yaml,h,cpp,c,py}" # Match any file with the extensions in any directory
- "**/*.yml"
- "**/*.yaml"
- "**/*.h"
- "**/*.cpp"
- "**/*.c"
- "**/*.py"

pull_request:
paths:
- "**/*.{yml,yaml,h,cpp,c,py}" # Match any file with the extensions in any directory
- "**/*.yml"
- "**/*.yaml"
- "**/*.h"
- "**/*.cpp"
- "**/*.c"
- "**/*.py"

workflow_dispatch:

concurrency:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# 2. Manual dispatch - allows independent control over stable and latest tags

---

name: Version and Tags

on: # yamllint disable-line rule:truthy
Expand Down Expand Up @@ -56,10 +55,9 @@ jobs:
- name: Update stable tag
if: |
success() && (
github.event_name == 'workflow_dispatch' && inputs.update_stable ||
github.event_name == 'push'
)
success() &&
github.event_name == 'workflow_dispatch' &&
inputs.update_stable
run: |
# Verify version bump was successful
if [ ! -f "./versioning/VERSION" ]; then
Expand Down
5 changes: 5 additions & 0 deletions .test/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
8 changes: 8 additions & 0 deletions .test/common_ard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
packages:
common: !include common.yaml

esp32:
framework:
type: arduino
...
19 changes: 19 additions & 0 deletions .test/common_idf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
packages:
common: !include common.yaml

esp32:
framework:
type: esp-idf

light:
- id: !extend light_full
platform: esp32_rmt_led_strip
rgb_order: GRB
rmt_channel: 1
chipset: ws2812
max_refresh_rate: 33ms
use_psram: false
type: !remove
variant: !remove
...
10 changes: 10 additions & 0 deletions .test/common_idf53.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
packages:
common_idf: !include common_idf.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_basic.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_ble_proxy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml
addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_core.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_hw_relays.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_relays_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_relays.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_hw_vibration.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_vibration_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_vibration.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_ard_media_player.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
---
packages:
common_arduino: !include common_ard.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_relays_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_relays.yaml
standard_hw_vibration_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_vibration.yaml
addon_media_player: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_media_player.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
12 changes: 4 additions & 8 deletions .test/esphome_idf53_basic.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
---
packages:
common_idf53: !include common_idf53.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0
media_player: !remove

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
switch:
- id: !remove sw_speaker_amplifier
...
5 changes: 1 addition & 4 deletions .test/esphome_idf53_ble_proxy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
packages:
common: !include common.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml
addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml
Expand All @@ -9,8 +10,4 @@ esp32:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
11 changes: 1 addition & 10 deletions .test/esphome_idf53_core.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
---
packages:
common_idf53: !include common_idf53.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
11 changes: 1 addition & 10 deletions .test/esphome_idf53_hw_relays.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
---
packages:
common_idf53: !include common_idf53.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_relays_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_relays.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
11 changes: 1 addition & 10 deletions .test/esphome_idf53_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
---
packages:
common_idf53: !include common_idf53.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
11 changes: 1 addition & 10 deletions .test/esphome_idf53_hw_vibration.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
---
packages:
common_idf53: !include common_idf53.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_vibration_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_vibration.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
10 changes: 4 additions & 6 deletions .test/esphome_idf_basic.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
packages:
common_idf: !include common_idf.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml

esp32:
framework:
type: esp-idf
media_player: !remove

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
switch:
- id: !remove sw_speaker_amplifier
...
9 changes: 1 addition & 8 deletions .test/esphome_idf_ble_proxy.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
---
packages:
common: !include common.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard.yaml
addon_bluetooth_proxy: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_addon_ble_proxy.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_idf_core.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
---
packages:
common_idf: !include common_idf.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_idf_hw_relays.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_idf: !include common_idf.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_relays_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_relays.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_idf_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_idf: !include common_idf.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
9 changes: 1 addition & 8 deletions .test/esphome_idf_hw_vibration.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
---
packages:
common_idf: !include common_idf.yaml
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_vibration_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_vibration.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
Loading

0 comments on commit fcbc92a

Please sign in to comment.