mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix mysensors required version for HVAC (#3499)
This commit is contained in:
parent
ad2dea939b
commit
8d0009b894
@ -25,6 +25,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
if discovery_info is None:
|
if discovery_info is None:
|
||||||
return
|
return
|
||||||
for gateway in mysensors.GATEWAYS.values():
|
for gateway in mysensors.GATEWAYS.values():
|
||||||
|
if float(gateway.protocol_version) < 1.5:
|
||||||
|
continue
|
||||||
pres = gateway.const.Presentation
|
pres = gateway.const.Presentation
|
||||||
set_req = gateway.const.SetReq
|
set_req = gateway.const.SetReq
|
||||||
map_sv_types = {
|
map_sv_types = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user