#Recorder wildcard * vs ?

6 messages ยท Page 1 of 1 (latest)

gritty sphinx
#

Hi there ๐Ÿ‘‹ I suspect I found a bug, OR I got it wrong and I'm confused.
The recorder supports wildcards in entity_globs:, namely * and ?. I had my setup working as you can see below, and then the other day I decided to exchange * for ? for the fun of it (because I only wanted to match at most two characters anyway, but thats besides the point). The point being, since then, after I restarted, HA has recorded an entity calledsensor.cora_wifi_signal which it did NOT do before.
Now, did I make a mistake, did I misunderstand, or is this a bug? I'm unsure whether I'm supposed to open an issue on this.

rocky matrix
#

I think a core bug would be appropriate.

#

Never used the ? but looking at the doc it seems to agree with your theory

last kite
#

Seems like a bug based on the docs

rocky matrix
#

I'm guessing ? is being interpreted as matching exactly 1 character, not zero or one.

#

It's mapping to SQL wildcard _ which is 1 character.