Update sensor.py
Added Movement and Movement Bucket values as sensors
This commit is contained in:
@@ -96,6 +96,20 @@ SENSORS: tuple[OwletSensorEntityDescription, ...] = (
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
element="skin_temperature",
|
element="skin_temperature",
|
||||||
),
|
),
|
||||||
|
OwletSensorEntityDescription(
|
||||||
|
key="movement",
|
||||||
|
translation_key="movement",
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
element="movement",
|
||||||
|
icon="mdi:cursor-move",
|
||||||
|
),
|
||||||
|
OwletSensorEntityDescription(
|
||||||
|
key="movementbucket",
|
||||||
|
translation_key="movementbucket",
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
element="movement_bucket",
|
||||||
|
icon="mdi:bucket-outline",
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user