fix(itim): ensure that the service template config is also rendered as part of device config
!43 #69
This commit is contained in:
@ -288,10 +288,10 @@ class Device(DeviceCommonFieldsName, SaveHistory):
|
|||||||
|
|
||||||
for service in services:
|
for service in services:
|
||||||
|
|
||||||
if service.config:
|
if service.config_variables:
|
||||||
|
|
||||||
service_config:dict = {
|
service_config:dict = {
|
||||||
service.config_key_variable: service.config
|
service.config_key_variable: service.config_variables
|
||||||
}
|
}
|
||||||
|
|
||||||
config.update(service_config)
|
config.update(service_config)
|
||||||
|
Reference in New Issue
Block a user