s/MultiValueSensor/CompositeSensor/g on smartthings

This commit is contained in:
Fabio Manganiello 2023-02-22 02:18:12 +01:00
parent 340fd08064
commit b2ffc08c89
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -16,7 +16,7 @@ from platypush.entities.motion import MotionSensor
from platypush.entities.sensors import (
BinarySensor,
EnumSensor,
MultiValueSensor,
CompositeSensor,
NumericSensor,
)
from platypush.entities.switches import EnumSwitch, Switch
@ -492,7 +492,7 @@ device_mappers: List[DeviceMapper] = [
),
# three_axis
DeviceMapper(
entity_type=MultiValueSensor,
entity_type=CompositeSensor,
capability=Capability.three_axis,
attribute=Attribute.three_axis,
value_type=list,