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