mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-04 03:48:29 +02:00
FastLED fixes
This commit is contained in:
@@ -312,6 +312,7 @@ METRIC_SUFFIXES = {
|
||||
|
||||
|
||||
def frequency(value):
|
||||
value = string(value)
|
||||
match = re.match(r"^([-+]?[0-9]*\.?[0-9]*)\s*(\w*?)(?:Hz|HZ|hz)?$", value)
|
||||
|
||||
if match is None:
|
||||
|
||||
Reference in New Issue
Block a user