ljmerza / ha-email-sensor

Email Sensor for collecting tracking numbers from over 40 providers.
MIT License
87 stars 22 forks source link

Platform error sensor.email #46

Closed KyleStilkey closed 1 year ago

KyleStilkey commented 1 year ago

I've not used this in awhile and saw there was a update so I wanted to give it a try again and I put this in my configuration.yaml file

sensor:

When attempting to check the results come back as Platform error sensor.email - Exception importing custom_components.email.sensor

I'm not sure if I set something up or there is an issue. Appreciate any help! Thanks!

Selim042 commented 1 year ago

I got the same thing, I think it is from this commit, line 313 is inconsistent with tabs and spaces. https://github.com/ljmerza/ha-email-sensor/commit/b6b6f153408d84c4a10c349c052d12ccb0171d47

tiduspup commented 1 year ago

Hello

i confirm, replacing "tab" with "space" to align the block correctly fix the issue.

Screenshot 2022-12-07 at 23 46 03 Screenshot 2022-12-07 at 23 43 17