PlaceOS / drivers

PlaceOS integrations and automations.
https://placeos.com
MIT License
10 stars 15 forks source link

fix(delta): PROJ-428 Convert ValueProperty class fields from mandatory to optional #481

Closed grkek closed 1 year ago

w-le commented 1 year ago

oh wait but we don't get the actual value of the property (which is the purpose of that function) can you also add to our model, optional fields that match the real response we saw? like

"present-value":{"$base":"Real","value":"22.54"},"status-flags":{"$base":"BitString","value":""},"event-state":{"$base":"Enumerated","value":"normal"},"out-of-service":{"$base":"Boolean","value":0},"units":{"$base":"Enumerated","value":"\u00b0C"},"description":{"$base":"String","value":"Temperature"},"reliability":{"$base":"Enumerated","value":"no-fault-detected"}}