jampez77 / DVLA-Vehicle-Enquiry-Service

A custom component for connecting to the DVLAs Vehicle Enquiry Service API.
MIT License
22 stars 5 forks source link

"No date for motExpiryDate" recurs in log file for vehicles not needing an MOT #12

Closed steve-hodgkiss closed 1 month ago

steve-hodgkiss commented 7 months ago

Have an EV car less than three years old.

In log file this message keeps getting logged:

2024-02-12 14:37:22.629 WARNING (MainThread) [custom_components.dvla.calendar] No date for motExpiryDate

Sensor for motExpiryDate is created with a value of unknown in HA. Suggest sensor should only be created if Mot States not eq "No details held by DVLA". Or keep the sensor and suppress the log message.

chrisandsally commented 6 months ago

Same issue.

jampez77 commented 1 month ago

This should be fixed in 2024.7.0