robmarkcole / HASS-plate-recognizer

Read number plates with https://platerecognizer.com/
128 stars 25 forks source link

Using region no (Norway) results in error - "no" is registered as boolean "false" #68

Open laabak84 opened 1 year ago

laabak84 commented 1 year ago

Hi, Thanks for the effort.

I am trying to use this integration with the region "no", and i get the following error message in the system log: platerecognizer api response: {'regions': ['Region "False" does not exist. List of regions: http://docs.platerecognizer.com/#countries']}

My yaml contains the following:

regions:

Workaround is to use: regions:

robmarkcole commented 1 year ago

This is how home-assistant parses yaml; perhaps the full code Norway can be used?