receiver: correctly handle settings that share a name in config
This commit is contained in:
parent
5041530952
commit
eda0a95585
|
@ -676,4 +676,6 @@ def check_feature_settings(device, already_known):
|
|||
def check_feature_setting(device, setting_name):
|
||||
for name, featureId, featureFn, __, __ in _SETTINGS_TABLE:
|
||||
if name == setting_name and featureId and featureFn:
|
||||
return check_feature(device, name, featureId, featureFn)
|
||||
feature = check_feature(device, name, featureId, featureFn)
|
||||
if feature:
|
||||
return feature
|
||||
|
|
Loading…
Reference in New Issue