You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst I am happy to maintain the client's current v1-compatible JSON output, I would like to expose the v3 API too.
To make the distinction more obvious to existing users, I propose adding classes to contain the properties and statuses of a zone, with obviously named properties on the classes (e.g. _has_room_sensor rather than has_Pir).
The current data property that returns the v1-compatible JSON can then be generated from the properties on these classes.
The text was updated successfully, but these errors were encountered:
Whilst I am happy to maintain the client's current v1-compatible JSON output, I would like to expose the v3 API too.
To make the distinction more obvious to existing users, I propose adding classes to contain the properties and statuses of a zone, with obviously named properties on the classes (e.g. _has_room_sensor rather than has_Pir).
The current data property that returns the v1-compatible JSON can then be generated from the properties on these classes.
The text was updated successfully, but these errors were encountered: