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

each Entity contains all the attributes returned by the API call?

Open godfreym29 opened this issue 1 year ago • 0 comments

Why does each entity created by the integration contain all the data returned by the API call? it looks like the Jason is being parsed into each entity

for instance: the entity Colour: shows the State of "Black" but the attibutes of it are:

registrationNumber: ******* taxStatus: Taxed taxDueDate: 2025-01-01 motStatus: Not valid make: NISSAN yearOfManufacture: 2010 engineCapacity: 1461 co2Emissions: 139 fuelType: DIESEL markedForExport: false colour: BLACK typeApproval: M1 dateOfLastV5CIssued: 2021-02-11 motExpiryDate: 2024-01-11 wheelplan: 2 AXLE RIGID BODY monthOfFirstRegistration: 2010-01 icon: mdi:spray friendly_name: Colour

It's the same for all the entities

godfreym29 avatar Jan 18 '24 12:01 godfreym29