Merge pull request #1524 from turbokongen/dev

Workaround for no off motion sensor: Wenzhou tkd slim sensor 3/4 in 1…
pull/1525/head
Paulus Schoutsen 2016-03-11 21:45:40 -08:00
commit 2b6f0586b4
1 changed files with 3 additions and 0 deletions

View File

@ -23,11 +23,14 @@ DEPENDENCIES = []
PHILIO = 0x013c
PHILIO_SLIM_SENSOR = 0x0002
PHILIO_SLIM_SENSOR_MOTION = (PHILIO, PHILIO_SLIM_SENSOR, 0)
WENZHOU = 0x0118
WENZHOU_SLIM_SENSOR_MOTION = (WENZHOU, PHILIO_SLIM_SENSOR, 0)
WORKAROUND_NO_OFF_EVENT = 'trigger_no_off_event'
DEVICE_MAPPINGS = {
PHILIO_SLIM_SENSOR_MOTION: WORKAROUND_NO_OFF_EVENT,
WENZHOU_SLIM_SENSOR_MOTION: WORKAROUND_NO_OFF_EVENT,
}