Matter fix autoconf_device_map (#18625)

This commit is contained in:
s-hadinger 2023-05-09 21:41:05 +02:00 committed by GitHub
parent 6a7b2b0c6e
commit 88593be79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1032,7 +1032,7 @@ class Matter_Device
var relays_reserved = [] # list of relays that are used for non-relay (shutters)
tasmota.log("MTR: Status 13 = "+str(r_st13), 3)
if r_st13.contains('StatusSHT')
if r_st13 != nil && r_st13.contains('StatusSHT')
r_st13 = r_st13['StatusSHT'] # skip root
# Shutter is enabled, iterate
var idx = 0