Skip to content

Commit

Permalink
Update LibreTiny ESPHome component naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed Jul 13, 2023
1 parent 97ba565 commit 3090c5f
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
mkdir -p build/
cd yaml/
configs=("bk7231t" "bk7231n" "rtl8710bn-2mb-468k")
configs=("bk7231t" "bk7231n" "rtl8710bn-2mb-788k")
for config in ${configs[@]}; do
esphome compile kickstart-${config}.yaml
cp .esphome/build/kickstart-${config}/.pioenvs/kickstart-${config}/firmware.uf2 ../build/kickstart-${config}-$1.uf2
Expand Down
2 changes: 1 addition & 1 deletion yaml/import-bk7231n.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
esphome:
name: kickstart-bk7231n

libretiny:
bk72xx:
board: generic-bk7231n-qfn32-tuya
framework:
version: dev
Expand Down
2 changes: 1 addition & 1 deletion yaml/import-bk7231t.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
esphome:
name: kickstart-bk7231t

libretiny:
bk72xx:
board: generic-bk7231t-qfn32-tuya
framework:
version: dev
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
esphome:
name: kickstart-rtl8710bn-2mb-468k
name: kickstart-rtl8710bn-2mb-788k

libretiny:
board: generic-rtl8710bn-2mb-468k
rtl87xx:
board: generic-rtl8710bn-2mb-788k
framework:
version: dev

Expand Down
7 changes: 0 additions & 7 deletions yaml/kickstart-base.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
substitutions:
name: REPLACEME
import_url: REPLACEME
board: REPLACEME

esphome:
name: $name
Expand All @@ -13,12 +12,6 @@ dashboard_import:
package_import_url: $import_url
import_full_config: true

libretiny:
board: $board
framework:
version: dev
loglevel: debug

external_components:
source: github://libretiny-eu/esphome-kickstart
components:
Expand Down
7 changes: 6 additions & 1 deletion yaml/kickstart-bk7231n.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
substitutions:
name: kickstart-bk7231n
import_url: github://libretiny-eu/esphome-kickstart/yaml/import-bk7231n.yaml@master
board: generic-bk7231n-qfn32-tuya

packages:
base: !include kickstart-base.yaml

bk72xx:
board: generic-bk7231n-qfn32-tuya
framework:
version: dev
loglevel: debug

select:
- platform: template
id: !extend pin
Expand Down
7 changes: 6 additions & 1 deletion yaml/kickstart-bk7231t.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
substitutions:
name: kickstart-bk7231t
import_url: github://libretiny-eu/esphome-kickstart/yaml/import-bk7231t.yaml@master
board: generic-bk7231t-qfn32-tuya

packages:
base: !include kickstart-base.yaml

bk72xx:
board: generic-bk7231t-qfn32-tuya
framework:
version: dev
loglevel: debug

select:
- platform: template
id: !extend pin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
substitutions:
name: kickstart-rtl8710bn-2mb-468k
import_url: github://libretiny-eu/esphome-kickstart/yaml/import-rtl8710bn-2mb-468k.yaml@master
board: generic-rtl8710bn-2mb-788k
name: kickstart-rtl8710bn-2mb-788k
import_url: github://libretiny-eu/esphome-kickstart/yaml/import-rtl8710bn-2mb-788k.yaml@master

packages:
base: !include kickstart-base.yaml

rtl87xx:
board: generic-rtl8710bn-2mb-788k
framework:
version: dev
loglevel: debug

select:
- platform: template
id: !extend pin
Expand Down

0 comments on commit 3090c5f

Please sign in to comment.