As I was writing this, the “your topic is similar to…” nag screen showed someone else had the same problem. Turns out it was me! But the problem still remains.
- From the Helpers screen, I click “add helper”, then click “Text”
- I name the field
youbigdummy
I miss Redd Foxx, God rest his smutty soul - In the regex pattern field I enter
[a-fA-F0-9]*
and then click Create - From the helpers screen again, I filter on “dummy”, and see my new string and click on it. I click the hamburger icon at the top right and see the value is
(empty value)
. - I click the field and can enter anything, specifically things that violate the regex. Such as
?!%!!,.*)
- Like the previous step, I can enter that value into a lovelace form, like:
type: entities
entities:
- entity: input_text.youbigdummy
show_header_toggle: false
What needs to be done to enforce the regex pattern?