Fix typo, remove log lines

This commit is contained in:
Erwin Boskma 2023-11-01 19:47:12 +01:00
parent 450f58d492
commit 61357b8e7a
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -34,12 +34,9 @@ class LinakSensorEntityDescriptionMixin:
class LinakSensorEntityDescription(
SensorEntityDescription, LinakSensorEntityDescriptionMixin
):
"""Dsescribes Linak sensor entity"""
"""Describes Linak sensor entity"""
# Entity sensor.bert_height (<class 'custom_components.linak_desk.sensor.LinakSensorEntity'>) is using state class 'SensorStateClass.MEASUREMENT' which is impossible considering device class ('distance') it is using; expected None or one of 'total', 'total_increasing', 'measurement'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
# Entity sensor.bert_speed (<class 'custom_components.linak_desk.sensor.LinakSensorEntity'>) is using state class 'SensorStateClass.MEASUREMENT' which is impossible considering device class ('speed') it is using; expected None or one of 'measurement'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
DEVICE_ENTITY_DESCRIPTIONS: list[LinakSensorEntityDescription] = [
LinakSensorEntityDescription(