thorrak / fermentrack

A replacement web interface for BrewPi
MIT License
134 stars 61 forks source link

Data sending not properly handled with room temp is an empty string #745

Closed sentry-finland-i9[bot] closed 11 months ago

sentry-finland-i9[bot] commented 11 months ago

Sentry Issue: FERMENTRACK-6

ValueError: could not convert string to float: ''
(1 additional frame(s) were not displayed)
...
  File "external_push/tasks.py", line 28, in generic_push_target_push
    if push_target.send_data():
  File "external_push/models.py", line 251, in send_data
    json_data = self.data_to_push()
  File "external_push/models.py", line 193, in data_to_push
    data_to_send['room_temp'] = float(device_info['RoomTemp'])

Unhandled exception in task 7521b2d1-0a87-4ef2-b671-36a35da64274.
sentry-finland-i9[bot] commented 11 months ago

Sentry issue: FERMENTRACK-P

sentry-finland-i9[bot] commented 11 months ago

Sentry issue: FERMENTRACK-N