Commit graph

10 commits

Author SHA1 Message Date
Joel Goguen
b3ed988119
Allow substitutions to be valid names () 2023-05-17 16:33:08 +12:00
Jesse Hills
b4c2433bac
Run black over tests folder () 2023-05-15 16:09:56 +12:00
Paul Monigatti
05fe5db030
Relax the icon validator to allow non-mdi icons () 2021-11-23 09:21:14 +01:00
Oxan van Leeuwen
f7b3f52731
Limit hostnames to 31 characters () 2021-10-22 12:09:47 +02:00
Dave T
1771e673d2
Warn if underscore character is used in hostname ()
* Prevent underscore character being used in 'name'.

* Restrict underscores in hostnames, not all names.

* Use hostname validator for node name.

* Allow underscore in hostname but warn once.

* Add renaming instructions link to warning.

* Point underscore warning to FAQ section

Co-authored-by: Otto Winter <otto@otto-winter.com>

Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-08-10 14:14:42 +02:00
Peter Kuehne
eaf9735eda
Disallow _ in node name () 2021-04-08 14:26:01 +02:00
Guillermo Ruffino
69879920eb
add-black ()
* Add black

Update pre commit

Update pre commit

add empty line

* Format with black
2021-03-07 16:03:16 -03:00
Ian Leeder
aea2e9a6bb
Add hyphen to supported name characters ()
Co-authored-by: Otto Winter <otto@otto-winter.com>
2020-07-30 00:02:34 +02:00
Peter Kuehne
2012c769f6
Feature/fix unit tests () 2020-07-14 13:11:58 +02:00
Tim Savage
c632b0e1d4
Unittests for esphome python code () 2020-03-12 14:27:22 -07:00