Skip to content

Commit

Permalink
Version 2.1.1 - Possible fix for issue #23
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyphillips committed Jun 11, 2021
1 parent 2c0b74c commit f714d0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions custom_components/mitsubishi/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions custom_components/mitsubishi/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit f714d0a

Please sign in to comment.