DVLA-Vehicle-Enquiry-Service icon indicating copy to clipboard operation
DVLA-Vehicle-Enquiry-Service copied to clipboard

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

Open steve-hodgkiss opened this issue 1 year ago • 1 comments

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.

steve-hodgkiss avatar Feb 12 '24 22:02 steve-hodgkiss