mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 14:43:51 +00:00 
			
		
		
		
	Add hyphen to supported name characters (#1223)
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
		| @@ -27,7 +27,7 @@ def test_alphanumeric__invalid(value): | ||||
|         actual = config_validation.alphanumeric(value) | ||||
|  | ||||
|  | ||||
| @given(value=text(alphabet=string.ascii_lowercase + string.digits + "_")) | ||||
| @given(value=text(alphabet=string.ascii_lowercase + string.digits + "_-")) | ||||
| def test_valid_name__valid(value): | ||||
|     actual = config_validation.valid_name(value) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user