Open shreyhas opened 2 hours ago
Hello @shreyhas, thank you for your interest in our work!
If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.
We thought about this at the beginning of the units module, but we decided that explicitly setting units was safer. Many codebases/sensors force you to to mix and match units, so rarely do we work in only one unit system.
🚀 Feature Request
Units.py should globally define the units used by the user. All values will be input and output in the defined units.
🔈 Motivation
Currently, units.py allows for converting to and from default units. With this, you can convert between units but this is an uneccessary line that needs to be added by the user. This processing should happen on the back-end.
🛰 Alternatives
Instead of picking individual units, we could only allow the user to control the system of units used.
📎 Additional context
N/A