commit
a37a3af126
|
@ -97,9 +97,11 @@ class ZWaveClimate(ZWaveDeviceEntity, ClimateDevice):
|
|||
self._current_temperature = self.get_value(
|
||||
class_id=zwave.const.COMMAND_CLASS_SENSOR_MULTILEVEL,
|
||||
label=['Temperature'], member='data')
|
||||
self._unit = self.get_value(
|
||||
device_unit = self.get_value(
|
||||
class_id=zwave.const.COMMAND_CLASS_SENSOR_MULTILEVEL,
|
||||
label=['Temperature'], member='units')
|
||||
if device_unit is not None:
|
||||
self._unit = device_unit
|
||||
|
||||
# Fan Mode
|
||||
self._current_fan_mode = self.get_value(
|
||||
|
|
|
@ -21,10 +21,11 @@ from homeassistant.config import load_yaml_config_file
|
|||
from homeassistant.const import (EVENT_HOMEASSISTANT_START, STATE_UNKNOWN,
|
||||
EVENT_HOMEASSISTANT_STOP, STATE_ON,
|
||||
STATE_OFF, CONF_DEVICES, CONF_PLATFORM,
|
||||
CONF_CUSTOMIZE, STATE_PLAYING, STATE_IDLE,
|
||||
STATE_PLAYING, STATE_IDLE,
|
||||
STATE_PAUSED, CONF_HOST)
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers import customize
|
||||
|
||||
REQUIREMENTS = ['pyCEC==0.4.13']
|
||||
|
||||
|
@ -299,10 +300,12 @@ def setup(hass: HomeAssistant, base_config):
|
|||
"""Called when new device is detected by HDMI network."""
|
||||
key = DOMAIN + '.' + device.name
|
||||
hass.data[key] = device
|
||||
discovery.load_platform(hass, base_config.get(core.DOMAIN).get(
|
||||
CONF_CUSTOMIZE, {}).get(key, {}).get(CONF_PLATFORM, platform),
|
||||
DOMAIN, discovered={ATTR_NEW: [key]},
|
||||
hass_config=base_config)
|
||||
discovery.load_platform(
|
||||
hass,
|
||||
customize.get_overrides(hass, core.DOMAIN, key).get(
|
||||
CONF_PLATFORM, platform),
|
||||
DOMAIN, discovered={ATTR_NEW: [key]},
|
||||
hass_config=base_config)
|
||||
|
||||
def _shutdown(call):
|
||||
hdmi_network.stop()
|
||||
|
|
|
@ -14,7 +14,7 @@ from homeassistant.util import Throttle
|
|||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
|
||||
REQUIREMENTS = ['pynuki==1.2']
|
||||
REQUIREMENTS = ['pynuki==1.2.1']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -237,7 +237,7 @@ def _setup_discovery(hass, config):
|
|||
_LOGGER.error("Unable to load MQTT discovery")
|
||||
return None
|
||||
|
||||
success = discovery.start(hass, conf[CONF_DISCOVERY_PREFIX], config)
|
||||
success = discovery.async_start(hass, conf[CONF_DISCOVERY_PREFIX], config)
|
||||
|
||||
return success
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ from homeassistant.util import Throttle
|
|||
from homeassistant.util.dt import now, parse_datetime
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['myusps==1.0.2']
|
||||
REQUIREMENTS = ['myusps==1.0.3']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -466,10 +466,9 @@ def async_check_ha_config_file(hass):
|
|||
import homeassistant.components.persistent_notification as pn
|
||||
|
||||
proc = yield from asyncio.create_subprocess_exec(
|
||||
sys.argv[0],
|
||||
'--script',
|
||||
'check_config',
|
||||
stdout=asyncio.subprocess.PIPE)
|
||||
sys.executable, '-m', 'homeassistant', '--script',
|
||||
'check_config', '--config', hass.config.config_dir,
|
||||
stdout=asyncio.subprocess.PIPE, loop=hass.loop)
|
||||
# Wait for the subprocess exit
|
||||
(stdout_data, dummy) = yield from proc.communicate()
|
||||
result = yield from proc.wait()
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"""Constants used by Home Assistant components."""
|
||||
MAJOR_VERSION = 0
|
||||
MINOR_VERSION = 38
|
||||
PATCH_VERSION = '1'
|
||||
PATCH_VERSION = '2'
|
||||
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
|
||||
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
|
||||
REQUIRED_PYTHON_VER = (3, 4, 2)
|
||||
|
|
|
@ -332,7 +332,7 @@ miflora==0.1.15
|
|||
mutagen==1.36.2
|
||||
|
||||
# homeassistant.components.sensor.usps
|
||||
myusps==1.0.2
|
||||
myusps==1.0.3
|
||||
|
||||
# homeassistant.components.discovery
|
||||
netdisco==0.8.2
|
||||
|
@ -487,7 +487,7 @@ pynetgear==0.3.3
|
|||
pynetio==0.1.6
|
||||
|
||||
# homeassistant.components.lock.nuki
|
||||
pynuki==1.2
|
||||
pynuki==1.2.1
|
||||
|
||||
# homeassistant.components.sensor.nut
|
||||
pynut2==2.1.2
|
||||
|
|
Loading…
Reference in New Issue