forked from platypush/platypush
s/MultiValueSensor/CompositeSensor/g on smartthings
This commit is contained in:
parent
340fd08064
commit
b2ffc08c89
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue