Add frequency option to ESP8266 PWM

This commit is contained in:
Otto Winter
2018-11-13 12:02:19 +01:00
parent 7f91141df2
commit 01aaf14078
2 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -562,7 +562,7 @@ def percentage(value):
if value > 1:
msg = "Percentage must not be higher than 100%."
if not has_percent_sign:
msg += " Please don't put to put a percent sign after the number!"
msg += " Please put a percent sign after the number!"
raise vol.Invalid(msg)
return zero_to_one_float(value)