We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears there's an issue now with a recent W1ThermSensor Update AttributeError: 'W1ThermSensor' object has no attribute 'type_name'
The fix for me was to rename type_name to type.name
ie Line 154: device_json = device_config(sensor.id, sensor.type.name)
Line 168: logger.info("Publishing sensor %s (%s), temperature: %.2f%s%s" % (sensor.id, sensor.type.name, temp, degree, unit.upper()))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It appears there's an issue now with a recent W1ThermSensor Update
AttributeError: 'W1ThermSensor' object has no attribute 'type_name'
The fix for me was to rename type_name to type.name
ie
Line 154: device_json = device_config(sensor.id, sensor.type.name)
Line 168: logger.info("Publishing sensor %s (%s), temperature: %.2f%s%s" % (sensor.id, sensor.type.name, temp, degree, unit.upper()))
The text was updated successfully, but these errors were encountered: