Skip to content

Commit

Permalink
Fix led-strip devices
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Feb 17, 2022
1 parent 6919689 commit 9cb34cf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 2 additions & 0 deletions athom-ls-4p-3wire.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ esphome:
esp8266:
board: esp01_1m
restore_from_flash: true
framework:
version: 2.7.4

api:

Expand Down
2 changes: 2 additions & 0 deletions athom-ls-4p-4wire.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ esphome:
esp8266:
board: esp01_1m
restore_from_flash: true
framework:
version: 2.7.4

api:

Expand Down
17 changes: 11 additions & 6 deletions athom-ws2812b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ substitutions:
project_name: "athom.ws2812b"
project_version: "1.0"
button_toggle: "true"
light_restore_mode: RESTORE_DEFAULT_OFF
led_restore_mode: RESTORE_DEFAULT_OFF
number_of_leds: '150'
led_rgb_order: GRB
led_chipset: WS2811

esphome:
name: "${name}"
Expand All @@ -16,6 +19,8 @@ esphome:
esp8266:
board: esp01_1m
restore_from_flash: true
framework:
version: 2.7.4

api:

Expand Down Expand Up @@ -61,13 +66,13 @@ button:

light:
- platform: fastled_clockless
pin: GPIO2
pin: GPIO1
id: leds
name: "${friendly_name}"
chipset: WS2811
num_leds: 150
rgb_order: GRB
restore_mode: ${light_restore_mode}
chipset: ${led_chipset}
num_leds: ${number_of_leds}
rgb_order: ${led_rgb_order}
restore_mode: ${led_restore_mode}
effects:
- addressable_rainbow:
- addressable_scan:
Expand Down

0 comments on commit 9cb34cf

Please sign in to comment.