Fix mysensors platforms version requirement (#5942)
* Notify and device tracker platforms require mysensors version 2.0 or greater.
This commit is contained in:
1 parent
9a5618fe96
commit
b6404d70ec
2 files changed
+4
No files matched your search
@@ -19,6 +19,8 @@ def get_service(hass, config, discovery_info=None):
|
||||
return
|
||||
|
||||
for gateway in gateways:
|
||||
if float(gateway.protocol_version) < 2.0:
|
||||
continue
|
||||
pres = gateway.const.Presentation
|
||||
set_req = gateway.const.SetReq
|
||||
map_sv_types = {
|
||||
|
||||
Reference in new issue
Block a user