PostLogical / ooler

This is a custom component to allow control of Ooler Sleep System devices in Home Assistant using bluetooth.
MIT License
24 stars 4 forks source link

Actual temperature unit conversion error reported in climate sensor #21

Open mattsmallman opened 1 year ago

mattsmallman commented 1 year ago

System Health details

System Information

version core-2023.7.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 5.15.0-78-generic
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4812 Installed Version | 1.32.1 Stage | running Available Repositories | 1265 Downloaded Repositories | 21
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 22 August 2023 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | false remote_server | eu-central-1-6.ui.nabu.casa certificate_status | ready can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 8 -- | -- resources | 7 views | 7 mode | storage
Recorder oldest_recorder_run | 15 July 2023 at 22:03 -- | -- current_recorder_run | 29 July 2023 at 07:52 estimated_db_size | 405.53 MiB database_engine | mysql database_version | 10.11.4

Checklist

Describe the issue

CleanShot 2023-07-29 at 08 15 03@2x

Actual temperature is reported as - C, which is obviously not correct. I suspect this is an issue with unit conversion. My Ooler is set up in Celsius.

I recall a similar issue with a previous MQTT integration and suspect that Ooler may report actual temperature in Farenheight regardless of temperature unit set but am unable to figure out how to see the raw data in order to check.

P.S. Thanks for creating this integration - It would be great to expose some of the other diagnostic data if you get a chance

Reproduction steps

  1. Install as per instructions with Ooler set in celsius
  2. ...

Debug logs

n/a - Please advise if required

Diagnostics dump

n/a - Can't locate

plucpel commented 1 year ago

Had the exact same issue. I tried to modify the conversion logic on my own, but could not get it to work properly anyway. Happy to help test if anyone comes up with a solution.

cpayne14 commented 9 months ago

Having the same issue here too, outside of this works amazing :) Thanks!

Screenshot 2023-12-12 at 12 00 25 pm