Closed CultusMechanicus closed 5 months ago
Regex is validating the entity id's but input_boolean
is not currently in the list of currently supported entity types. The problem is that the validation error message is not very helpful... I will update the code now to support a few extra entities and improve the error message
Jesus, that was quick! Thanks, I'll give it a test in an hour or so!
Edit: Well, it all builds, adding bluetooth proxy still fits in the flash and it pulls from github now too. Still not flashed it yet, but I'll report back when I do. Nice job!
I've just given this a quick test by setting up a new yaml in esphome and building it (but not actually flashing it yet). Most of it transferred over pretty well, except for a few entities.
Input_button, input_boolean and covers all get rejected with :
entity_id "input_boolean.nightmode" must match the format "[entity type].[entity name]" and contain only numbers (0-9), letters (A-Z) and underscores (), e.g. "light.living_room_light_1"
I had a look through the code and can see at least some handling for the input_* domains, but it seems either mine have odd names or the config validation is broken somehow.