jampez77 / DVLA-Vehicle-Enquiry-Service

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

getting unknown on two sensors #20

Closed snigehere closed 1 month ago

snigehere commented 1 month ago

Following install of 2024.9.2 I have two sensors not populating .. I see in the change log some work on these "Also updated sensor / binary_sensor code to better update once added"

entity_id: binarysensor.dvla<reg#>_motstatus state: unknown entity_id: binarysensor.dvla<reg#>_taxstatus state: unknown

Not sure if they relate to these sensors? sensor.dvla_<reg#>motstatus sensor.dvla<reg#>_taxstatus

when I check properties both show as still being updated by the integration so I am not able to delete the binary_sensor

jampez77 commented 1 month ago

I see what i did here (i was in a rush, more fool me i suppose)

This should be fixed in the latest release 2024.9.3

There is a small chance this will result in some orphaned entities so it might be easier and neater to just remove the integration and re-add it, after updating.

snigehere commented 1 month ago

Thanks for the fast fix.. installed without any issues and all good again.

nivek1612 commented 1 month ago

Prior to this update when a vehicle is not due an MOT the MOT due date was set to Null rather than not returned as that makes HA give this error. "This entity is no longer being provided by the dvla integration. If the entity is no longer in use, delete it in settings" Can we go back to that setting?