Closed xMuehlex closed 2 years ago
Hmm; I don't quite understand these error messages, unfortunately… it seems to be a Python error stemming from an import
statement, but we never actually import the name DEVICE_CLASS_PM1
? I'm sort of stumped, but perhaps this could have to do with #105 and therefore @cynicer might have some intuition about what's going wrong?
If you tell me where to find more logs, I can provide them. I do not own any other ThinQ devices.
Ah nvm, this already seems to be the log entry of HA. Which device are you trying to connect? The weird thing is that the problem seems to be in the HA code? Is this classified as "WARNING" or "ERROR"?
The message is classified as an error (Fehler).
The device I want to connect is an LG V5105SE washing machine.
EDIT:
Problem solved. My Home Assistant runs as a Docker container. After changing from "ghcr.io/home-assistant/raspberrypi4-homeassistant" to "homeassistant/home-assistant" everything works like a charm.
Hello, I am currently facing the following problem. I am trying to connect a LG washing machine to HomeAssistant. Unfortunately, only an on/off switch is detected. The detection of the sensors fails with the following error:
LOG: Logger: homeassistant.setup Source: setup.py:311 First occurred: 10. Oktober 2021, 12:56:38 (4 occurrences) Last logged: 10. Oktober 2021, 12:59:41
Unable to prepare setup for platform smartthinq_sensors.sensor: Platform not found (cannot import name 'DEVICE_CLASS_PM1' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/init.py)). Unable to prepare setup for platform smartthinq_sensors.binary_sensor: Platform not found (cannot import name 'DEVICE_CLASS_PM1' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/init.py)).
Any suggestions?