Fix mysensors required version for HVAC (#3499)

This commit is contained in:
Martin Hjelmare 2016-09-23 22:07:06 +02:00 committed by GitHub
parent ad2dea939b
commit 8d0009b894

View File

@ -25,6 +25,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
if discovery_info is None:
return
for gateway in mysensors.GATEWAYS.values():
if float(gateway.protocol_version) < 1.5:
continue
pres = gateway.const.Presentation
set_req = gateway.const.SetReq
map_sv_types = {