Open mlhyyl opened 3 years ago
Not sure, sounds like a generic HA question, can you ask on the forums?
Here is my workaround for the sensor: value_template: > {{ state_attr("image_processing.platerecognizer_door", "watched_plates")["82ab123"] }} This is because variables names cannot start with a number.
Here is my workaround for the sensor: value_template: > {{ state_attr("image_processing.platerecognizer_door", "watched_plates")["82ab123"] }} This is because variables names cannot start with a number.
this needs to be added to the readme - ill do it when i have a moment unless someone else has time?
this needs to be added to the readme - ill do it when i have a moment unless someone else has time?
I just added it.
Hi,
In Turkey, our license plates start with numbers.
Unfortunately, HA will protest when I feed in the code below and click Check configuration. 82ab123 causes the problem.
value_template: "{{ state_attr('image_processing.platerecognizer', 'watched_plates').82ab123 }}"
Is there a workaround to this situation?