Add device HMIP-eTRV-C to HomematicIP (#21612)

* Update dependencies

* Add additional device HMIP-eTRV-C

add valveActualTemperature to HeatingThermostats (HMIP-eTRV-C, HMIP-eTRV, HMIP-eTRV-2)

* Removed HomematicipThermostatTemperatureSensor

already in climate
This commit is contained in:
Markus Jankowski 2019-03-03 21:33:48 +01:00 committed by Rohan Kapoor
parent 1308ead8d6
commit 3032283b99
4 changed files with 8 additions and 6 deletions

View File

@ -15,7 +15,7 @@ from .const import (
from .device import HomematicipGenericDevice # noqa: F401 from .device import HomematicipGenericDevice # noqa: F401
from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401
REQUIREMENTS = ['homematicip==0.10.5'] REQUIREMENTS = ['homematicip==0.10.6']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -5,7 +5,7 @@ from homeassistant.components.homematicip_cloud import (
DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice) DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice)
from homeassistant.const import ( from homeassistant.const import (
DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_ILLUMINANCE, DEVICE_CLASS_TEMPERATURE, DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_ILLUMINANCE, DEVICE_CLASS_TEMPERATURE,
TEMP_CELSIUS, POWER_WATT) POWER_WATT, TEMP_CELSIUS)
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -27,7 +27,8 @@ async def async_setup_platform(
async def async_setup_entry(hass, config_entry, async_add_entities): async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up the HomematicIP Cloud sensors from a config entry.""" """Set up the HomematicIP Cloud sensors from a config entry."""
from homematicip.aio.device import ( from homematicip.aio.device import (
AsyncHeatingThermostat, AsyncTemperatureHumiditySensorWithoutDisplay, AsyncHeatingThermostat, AsyncHeatingThermostatCompact,
AsyncTemperatureHumiditySensorWithoutDisplay,
AsyncTemperatureHumiditySensorDisplay, AsyncMotionDetectorIndoor, AsyncTemperatureHumiditySensorDisplay, AsyncMotionDetectorIndoor,
AsyncTemperatureHumiditySensorOutdoor, AsyncTemperatureHumiditySensorOutdoor,
AsyncMotionDetectorPushButton, AsyncLightSensor, AsyncMotionDetectorPushButton, AsyncLightSensor,
@ -37,7 +38,8 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
home = hass.data[HMIPC_DOMAIN][config_entry.data[HMIPC_HAPID]].home home = hass.data[HMIPC_DOMAIN][config_entry.data[HMIPC_HAPID]].home
devices = [HomematicipAccesspointStatus(home)] devices = [HomematicipAccesspointStatus(home)]
for device in home.devices: for device in home.devices:
if isinstance(device, AsyncHeatingThermostat): if isinstance(device, (AsyncHeatingThermostat,
AsyncHeatingThermostatCompact)):
devices.append(HomematicipHeatingThermostat(home, device)) devices.append(HomematicipHeatingThermostat(home, device))
if isinstance(device, (AsyncTemperatureHumiditySensorDisplay, if isinstance(device, (AsyncTemperatureHumiditySensorDisplay,
AsyncTemperatureHumiditySensorWithoutDisplay, AsyncTemperatureHumiditySensorWithoutDisplay,

View File

@ -548,7 +548,7 @@ homeassistant-pyozw==0.1.2
homekit==0.12.2 homekit==0.12.2
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.10.5 homematicip==0.10.6
# homeassistant.components.google # homeassistant.components.google
# homeassistant.components.remember_the_milk # homeassistant.components.remember_the_milk

View File

@ -126,7 +126,7 @@ home-assistant-frontend==20190228.0
homekit==0.12.2 homekit==0.12.2
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.10.5 homematicip==0.10.6
# homeassistant.components.influxdb # homeassistant.components.influxdb
# homeassistant.components.sensor.influxdb # homeassistant.components.sensor.influxdb