From c94cc34a8f350dcf6f3ca770af11ab772a90e317 Mon Sep 17 00:00:00 2001 From: schnoetz <34626347+schnoetz@users.noreply.github.com> Date: Thu, 21 Dec 2017 21:46:42 +0100 Subject: [PATCH] Adding MotionIP to BinarySensors for HMIP-SMI (#11268) * Adding MotionIP to BinarySensors for HMIP-SMI My HmIP-SMI (Homematic IP Motion Sensor) only shows "ILLUMINATION" and no MOTION, because the binary values are not recognized. The "old" homematic-motion detectors are working well showing motion, too. I found out that "MotionIP" was missing at the binary_sensors - after adding "Motion" and "Motion Detection Activated" are shown. * Removed trailing blanks removed trailing blanks from my previous change --- homeassistant/components/homematic/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index 46f25e4e05f..08e8455b302 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -77,9 +77,9 @@ HM_DEVICE_TYPES = { 'ThermostatGroup'], DISCOVER_BINARY_SENSORS: [ 'ShutterContact', 'Smoke', 'SmokeV2', 'Motion', 'MotionV2', - 'RemoteMotion', 'WeatherSensor', 'TiltSensor', 'IPShutterContact', - 'HMWIOSwitch', 'MaxShutterContact', 'Rain', 'WiredSensor', - 'PresenceIP'], + 'MotionIP', 'RemoteMotion', 'WeatherSensor', 'TiltSensor', + 'IPShutterContact', 'HMWIOSwitch', 'MaxShutterContact', 'Rain', + 'WiredSensor', 'PresenceIP'], DISCOVER_COVER: ['Blind', 'KeyBlind'] }