From a19f7bff28d47975b0ae50318190362fdea25120 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 25 Jun 2016 18:36:52 +0200 Subject: [PATCH] fix false autodetect with HM GongSensor types --- homeassistant/components/homematic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/homematic.py b/homeassistant/components/homematic.py index 32ac7ac80eb..84a3ae33c52 100644 --- a/homeassistant/components/homematic.py +++ b/homeassistant/components/homematic.py @@ -46,10 +46,11 @@ HM_DEVICE_TYPES = { DISCOVER_LIGHTS: ["Dimmer"], DISCOVER_SENSORS: ["SwitchPowermeter", "Motion", "MotionV2", "RemoteMotion", "ThermostatWall", "AreaThermostat", - "RotaryHandleSensor", "GongSensor"], + "RotaryHandleSensor"], DISCOVER_THERMOSTATS: ["Thermostat", "ThermostatWall", "MAXThermostat"], DISCOVER_BINARY_SENSORS: ["Remote", "ShutterContact", "Smoke", "SmokeV2", - "Motion", "MotionV2", "RemoteMotion"], + "Motion", "MotionV2", "RemoteMotion", + "GongSensor"], DISCOVER_ROLLERSHUTTER: ["Blind"] }