mjmccans / airthings-mqtt-ha

Python script for Airthings devices that uses mqtt to integrate with Home Assistant via mqtt discovery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: type str doesn't define __round__ method

Vendo232 opened this issue · comments

Hi

running into this error, any idea what went wrong? Entities are created in HA but values are "unknown"
using the older version Wave

image

Vendo232,

It looks like a sensor value is coming in as a string that I was expecting to come in as a float. I have updated the repository to check for string values and not try to round them. Please update to the latest version and let me know if that fixes your issue. Thank you.