Update pyhomematic 0.1.54 + small fixes (#19667)

* Update pyhomematic + small fix

* Add casting for ILLUMINATION

* Revert suggested fix
This commit is contained in:
Daniel Perna 2019-01-01 16:25:57 +01:00 committed by Pascal Vizeli
parent 5aa2bd81cf
commit 4244ea78d0
4 changed files with 6 additions and 5 deletions

View File

@ -19,7 +19,7 @@ from homeassistant.helpers import discovery
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity
REQUIREMENTS = ['pyhomematic==0.1.53']
REQUIREMENTS = ['pyhomematic==0.1.54']
_LOGGER = logging.getLogger(__name__)
@ -79,7 +79,7 @@ HM_DEVICE_TYPES = {
'IPWeatherSensor', 'RotaryHandleSensorIP', 'IPPassageSensor',
'IPKeySwitchPowermeter', 'IPThermostatWall230V', 'IPWeatherSensorPlus',
'IPWeatherSensorBasic', 'IPBrightnessSensor', 'IPGarage',
'UniversalSensor'],
'UniversalSensor', 'MotionIPV2'],
DISCOVER_CLIMATE: [
'Thermostat', 'ThermostatWall', 'MAXThermostat', 'ThermostatWall2',
'MAXWallThermostat', 'IPThermostat', 'IPThermostatWall',
@ -89,7 +89,7 @@ HM_DEVICE_TYPES = {
'MotionIP', 'RemoteMotion', 'WeatherSensor', 'TiltSensor',
'IPShutterContact', 'HMWIOSwitch', 'MaxShutterContact', 'Rain',
'WiredSensor', 'PresenceIP', 'IPWeatherSensor', 'IPPassageSensor',
'SmartwareMotion', 'IPWeatherSensorPlus'],
'SmartwareMotion', 'IPWeatherSensorPlus', 'MotionIPV2'],
DISCOVER_COVER: ['Blind', 'KeyBlind', 'IPKeyBlind', 'IPKeyBlindTilt'],
DISCOVER_LOCKS: ['KeyMatic']
}

View File

@ -48,6 +48,7 @@ HM_UNIT_HA_CAST = {
'GAS_POWER': 'm3',
'GAS_ENERGY_COUNTER': 'm3',
'LUX': 'lx',
'ILLUMINATION': 'lx',
'CURRENT_ILLUMINATION': 'lx',
'AVERAGE_ILLUMINATION': 'lx',
'LOWEST_ILLUMINATION': 'lx',

View File

@ -1022,7 +1022,7 @@ pyhik==0.1.9
pyhiveapi==0.2.14
# homeassistant.components.homematic
pyhomematic==0.1.53
pyhomematic==0.1.54
# homeassistant.components.homeworks
pyhomeworks==0.0.6

View File

@ -175,7 +175,7 @@ pydeconz==47
pydispatcher==2.0.5
# homeassistant.components.homematic
pyhomematic==0.1.53
pyhomematic==0.1.54
# homeassistant.components.litejet
pylitejet==0.1