mirror of
https://github.com/esphome/esphome.git
synced 2025-03-26 02:15:17 +01:00
Fix parsing of µs time periods in config (#7495)
This commit is contained in:
parent
361b6ab961
commit
e57a1ff42d
3 changed files with 9 additions and 8 deletions
esphome
tests/components/esp32_rmt_led_strip
|
@ -750,6 +750,7 @@ def time_period_str_unit(value):
|
|||
"ns": "nanoseconds",
|
||||
"nanoseconds": "nanoseconds",
|
||||
"us": "microseconds",
|
||||
"µs": "microseconds",
|
||||
"microseconds": "microseconds",
|
||||
"ms": "milliseconds",
|
||||
"milliseconds": "milliseconds",
|
||||
|
|
|
@ -12,7 +12,7 @@ light:
|
|||
num_leds: 60
|
||||
rmt_channel: 1
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
||||
bit0_high: 100µs
|
||||
bit0_low: 100µs
|
||||
bit1_high: 100µs
|
||||
bit1_low: 100µs
|
||||
|
|
|
@ -12,7 +12,7 @@ light:
|
|||
num_leds: 60
|
||||
rmt_channel: 2
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
||||
bit0_high: 100µs
|
||||
bit0_low: 100µs
|
||||
bit1_high: 100µs
|
||||
bit1_low: 100µs
|
||||
|
|
Loading…
Add table
Reference in a new issue