mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Fix replaced - in allowed characters during object_id sanitizing (#5983)
This commit is contained in:
		| @@ -261,6 +261,7 @@ def test_snake_case(text, expected): | ||||
|         ('!"§$%&/()=?foo_bar', "___________foo_bar"), | ||||
|         ('foo_!"§$%&/()=?bar', "foo____________bar"), | ||||
|         ('foo_bar!"§$%&/()=?', "foo_bar___________"), | ||||
|         ('foo-bar!"§$%&/()=?', "foo-bar___________"), | ||||
|     ), | ||||
| ) | ||||
| def test_sanitize(text, expected): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user