From 760d2f1f0a0a4398c0c20b673f53ab4beea79f85 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Wed, 26 Apr 2017 05:20:10 +0200 Subject: [PATCH] Upgrade pyhomematic, extend device support (#7303) --- homeassistant/components/homematic.py | 11 ++++++----- requirements_all.txt | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/homematic.py b/homeassistant/components/homematic.py index aa9a704f9d4..0b0d073fe1d 100644 --- a/homeassistant/components/homematic.py +++ b/homeassistant/components/homematic.py @@ -21,7 +21,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval from homeassistant.config import load_yaml_config_file -REQUIREMENTS = ["pyhomematic==0.1.24"] +REQUIREMENTS = ["pyhomematic==0.1.25"] DOMAIN = 'homematic' @@ -54,21 +54,22 @@ SERVICE_SET_DEV_VALUE = 'set_dev_value' HM_DEVICE_TYPES = { DISCOVER_SWITCHES: [ 'Switch', 'SwitchPowermeter', 'IOSwitch', 'IPSwitch', - 'IPSwitchPowermeter', 'KeyMatic', 'HMWIOSwitch'], - DISCOVER_LIGHTS: ['Dimmer', 'KeyDimmer'], + 'IPSwitchPowermeter', 'KeyMatic', 'HMWIOSwitch', 'Rain', 'EcoLogic'], + DISCOVER_LIGHTS: ['Dimmer', 'KeyDimmer', 'IPKeyDimmer'], DISCOVER_SENSORS: [ 'SwitchPowermeter', 'Motion', 'MotionV2', 'RemoteMotion', 'MotionIP', 'ThermostatWall', 'AreaThermostat', 'RotaryHandleSensor', 'WaterSensor', 'PowermeterGas', 'LuxSensor', 'WeatherSensor', 'WeatherStation', 'ThermostatWall2', 'TemperatureDiffSensor', - 'TemperatureSensor', 'CO2Sensor', 'IPSwitchPowermeter', 'HMWIOSwitch'], + 'TemperatureSensor', 'CO2Sensor', 'IPSwitchPowermeter', 'HMWIOSwitch', + 'FillingLevel', 'ValveDrive', 'EcoLogic'], DISCOVER_CLIMATE: [ 'Thermostat', 'ThermostatWall', 'MAXThermostat', 'ThermostatWall2', 'MAXWallThermostat', 'IPThermostat'], DISCOVER_BINARY_SENSORS: [ 'ShutterContact', 'Smoke', 'SmokeV2', 'Motion', 'MotionV2', 'RemoteMotion', 'WeatherSensor', 'TiltSensor', 'IPShutterContact', - 'HMWIOSwitch', 'MaxShutterContact'], + 'HMWIOSwitch', 'MaxShutterContact', 'Rain', 'WiredSensor'], DISCOVER_COVER: ['Blind', 'KeyBlind'] } diff --git a/requirements_all.txt b/requirements_all.txt index 36afd132e52..087cb30b554 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -549,7 +549,7 @@ pyharmony==1.0.12 pyhik==0.1.2 # homeassistant.components.homematic -pyhomematic==0.1.24 +pyhomematic==0.1.25 # homeassistant.components.sensor.hydroquebec pyhydroquebec==1.1.0