Danielhiversen / home_assistant_airthings_cloud

Airthings cloud
Apache License 2.0
32 stars 6 forks source link

Temp conversion mismatch #2

Closed sokratz closed 3 years ago

sokratz commented 3 years ago

Dashboard is setup in F. Script is expecting C and converting to F. Currently about 158degrees in my basement ;)

Danielhiversen commented 3 years ago

Fahrenheit is not supported

sokratz commented 3 years ago

for future enhancement, temp unit preference is provided in api response:
{ "type": "temp", "value": 69.2, "providedUnit": "f", "preferredUnit": "f", "isAlert": false, "thresholds": [ 64, 77 ] },

Danielhiversen commented 3 years ago

Is it still not working for you? Do you use the latest version with this: https://github.com/Danielhiversen/home_assistant_airthings_cloud/commit/8787392193d98dd9d4c3b53ecf60dcfe5d40118e