12 063
правки
(Новая страница: «To use the template in the device description in the configuration file, specify the field ''''device_type''''. Among all presented templates, a template with the…») |
(Новая страница: «It works the same way with channels. The channels are compared by the mandatory field name; if the channel name from the configuration file matches the channel na…») |
||
Строка 162: | Строка 162: | ||
To use the template in the device description in the configuration file, specify the field ''''device_type''''. Among all presented templates, a template with the same ''device_type'' value will be selected, and all fields that were not defined in the configuration file will take values from the template. | To use the template in the device description in the configuration file, specify the field ''''device_type''''. Among all presented templates, a template with the same ''device_type'' value will be selected, and all fields that were not defined in the configuration file will take values from the template. | ||
It works the same way with channels. The channels are compared by the mandatory field name; if the channel name from the configuration file matches the channel name in the template, all unspecified values will be taken from the template. | |||
=== Пример === | === Пример === |
правки