Fix parsing of µs time periods in config (#7495)

This commit is contained in:
David Woodhouse 2024-10-02 19:54:12 +01:00 committed by GitHub
parent 361b6ab961
commit e57a1ff42d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 8 deletions

View File

@ -750,6 +750,7 @@ def time_period_str_unit(value):
"ns": "nanoseconds", "ns": "nanoseconds",
"nanoseconds": "nanoseconds", "nanoseconds": "nanoseconds",
"us": "microseconds", "us": "microseconds",
"µs": "microseconds",
"microseconds": "microseconds", "microseconds": "microseconds",
"ms": "milliseconds", "ms": "milliseconds",
"milliseconds": "milliseconds", "milliseconds": "milliseconds",

View File

@ -12,7 +12,7 @@ light:
num_leds: 60 num_leds: 60
rmt_channel: 1 rmt_channel: 1
rgb_order: RGB rgb_order: RGB
bit0_high: 100us bit0_high: 100µs
bit0_low: 100us bit0_low: 100µs
bit1_high: 100us bit1_high: 100µs
bit1_low: 100us bit1_low: 100µs

View File

@ -12,7 +12,7 @@ light:
num_leds: 60 num_leds: 60
rmt_channel: 2 rmt_channel: 2
rgb_order: RGB rgb_order: RGB
bit0_high: 100us bit0_high: 100µs
bit0_low: 100us bit0_low: 100µs
bit1_high: 100us bit1_high: 100µs
bit1_low: 100us bit1_low: 100µs