mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
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:
parent
1308ead8d6
commit
3032283b99
@ -15,7 +15,7 @@ from .const import (
|
||||
from .device import HomematicipGenericDevice # noqa: F401
|
||||
from .hap import HomematicipAuth, HomematicipHAP # noqa: F401
|
||||
|
||||
REQUIREMENTS = ['homematicip==0.10.5']
|
||||
REQUIREMENTS = ['homematicip==0.10.6']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -5,7 +5,7 @@ from homeassistant.components.homematicip_cloud import (
|
||||
DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice)
|
||||
from homeassistant.const import (
|
||||
DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_ILLUMINANCE, DEVICE_CLASS_TEMPERATURE,
|
||||
TEMP_CELSIUS, POWER_WATT)
|
||||
POWER_WATT, TEMP_CELSIUS)
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@ -27,7 +27,8 @@ async def async_setup_platform(
|
||||
async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
"""Set up the HomematicIP Cloud sensors from a config entry."""
|
||||
from homematicip.aio.device import (
|
||||
AsyncHeatingThermostat, AsyncTemperatureHumiditySensorWithoutDisplay,
|
||||
AsyncHeatingThermostat, AsyncHeatingThermostatCompact,
|
||||
AsyncTemperatureHumiditySensorWithoutDisplay,
|
||||
AsyncTemperatureHumiditySensorDisplay, AsyncMotionDetectorIndoor,
|
||||
AsyncTemperatureHumiditySensorOutdoor,
|
||||
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
|
||||
devices = [HomematicipAccesspointStatus(home)]
|
||||
for device in home.devices:
|
||||
if isinstance(device, AsyncHeatingThermostat):
|
||||
if isinstance(device, (AsyncHeatingThermostat,
|
||||
AsyncHeatingThermostatCompact)):
|
||||
devices.append(HomematicipHeatingThermostat(home, device))
|
||||
if isinstance(device, (AsyncTemperatureHumiditySensorDisplay,
|
||||
AsyncTemperatureHumiditySensorWithoutDisplay,
|
||||
|
@ -548,7 +548,7 @@ homeassistant-pyozw==0.1.2
|
||||
homekit==0.12.2
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.5
|
||||
homematicip==0.10.6
|
||||
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.remember_the_milk
|
||||
|
@ -126,7 +126,7 @@ home-assistant-frontend==20190228.0
|
||||
homekit==0.12.2
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.5
|
||||
homematicip==0.10.6
|
||||
|
||||
# homeassistant.components.influxdb
|
||||
# homeassistant.components.sensor.influxdb
|
||||
|
Loading…
x
Reference in New Issue
Block a user