scottyphillips / pychonet

A simple to use library for interfacing with the ECHONETlite protocol
GNU General Public License v3.0
20 stars 17 forks source link

Export battery states to consumers, simplify return values. #5

Closed gvswastaken closed 3 years ago

gvswastaken commented 3 years ago

I think it makes sense to return scalars where possible and leave to higher level libraries/apps to potentially turn those into JSON objects. This way, we don't have to worry about coming up with and maintaining a schema for return values.