From f714d0a5510b8ed4f9b3bb16c3662d1112bad540 Mon Sep 17 00:00:00 2001 From: Scott Phillips Date: Sat, 12 Jun 2021 08:48:03 +1000 Subject: [PATCH] Version 2.1.1 - Possible fix for issue #23 --- custom_components/mitsubishi/climate.py | 7 +++++-- custom_components/mitsubishi/manifest.json | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/custom_components/mitsubishi/climate.py b/custom_components/mitsubishi/climate.py index 78febfb..4b173e2 100644 --- a/custom_components/mitsubishi/climate.py +++ b/custom_components/mitsubishi/climate.py @@ -26,7 +26,7 @@ from homeassistant.const import TEMP_CELSIUS, TEMP_FAHRENHEIT, ATTR_TEMPERATURE, CONF_HOST, CONF_IP_ADDRESS, CONF_NAME DOMAIN = "mitsubishi" -REQUIREMENTS = ['mitsubishi_echonet==0.4.1'] +REQUIREMENTS = ['mitsubishi_echonet==0.5'] SUPPORT_FLAGS = 0 async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): @@ -57,7 +57,10 @@ def __init__(self, name, echonet_hvac, unit_of_measurement, fan_modes=None): self._name = name self._api = echonet_hvac #new line _LOGGER.debug("ECHONET lite HVAC %s component added to HA", self._api.netif) - + _LOGGER.debug("HVAC has the following get properties:") + _LOGGER.debug(self._api.fetchGetProperties()) + _LOGGER.debug("HVAC has the following set properties:") + _LOGGER.debug(self._api.fetchSetProperties()) self._unit_of_measurement = unit_of_measurement self._precision = 1.0 self._support_flags = SUPPORT_FLAGS diff --git a/custom_components/mitsubishi/manifest.json b/custom_components/mitsubishi/manifest.json index 276a515..2c6f309 100644 --- a/custom_components/mitsubishi/manifest.json +++ b/custom_components/mitsubishi/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://github.com/scottyphillips/mitsubishi_echonet", "dependencies": [], "codeowners": [], - "requirements": ["mitsubishi_echonet==0.4.1"], + "requirements": ["mitsubishi_echonet==0.5"], "homeassistant": "0.96.0", - "version": "2.1.0" + "version": "2.1.1" }