[Вентиляция] Увлажнитель CAREL Humisonic

Ультразвуковой канальный увлажнитель воздуха


config-carel-humisonic-uu.json (17.8 КБ)

4 лайка

Получаю ошибку при добавлении шаблона:

# wb-mqtt-serial -g
<3>ERROR: [serial config] File: /etc/wb-mqtt-serial.conf.d/templates/config-carel-humisonic-uu.json error: Validation failed.
Error 1
  context: <root>[device][channels][16][name]
  desc: Failed to match regex specified by 'pattern' constraint.
Error 2
  context: <root>[device][channels][16]
  desc: Failed to validate against schema associated with property name 'name'.
Error 3
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 4
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 5
  context: <root>[device][channels][16]
  desc: Missing required property 'consists_of'.
Error 6
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #1.
Error 7
  context: <root>[device][channels][16][name]
  desc: Failed to match regex specified by 'pattern' constraint.
Error 8
  context: <root>[device][channels][16]
  desc: Failed to validate against schema associated with property name 'name'.
Error 9
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 10
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #2.
Error 11
  context: <root>[device][channels][16][name]
  desc: Failed to match regex specified by 'pattern' constraint.
Error 12
  context: <root>[device][channels][16]
  desc: Failed to validate against schema associated with property name 'name'.
Error 13
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 14
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #3.
Error 15
  context: <root>[device][channels][16]
  desc: Failed to validate against any child schemas allowed by oneOf constraint.
Error 16
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 17
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #0.
Error 18
  context: <root>[device][channels][16]
  desc: Missing required property 'device_type'.
Error 19
  context: <root>[device][channels][16]
  desc: Failed to validate against child schema #1.
Error 20
  context: <root>[device][channels][16]
  desc: Failed to validate against any child schemas allowed by oneOf constraint.
Error 21
  context: <root>[device][channels]
  desc: Failed to validate item #16 in array.
Error 22
  context: <root>[device]
  desc: Failed to validate against schema associated with property name 'channels'.
Error 23
  context: <root>[device]
  desc: Failed to validate against child schema #2.
Error 24
  context: <root>[device]
  desc: Failed to validate against child schema #0.
Error 25
  context: <root>[device]
  desc: Failed to validate against any child schemas allowed by oneOf constraint.
Error 26
  context: <root>
  desc: Failed to validate against schema associated with property name 'device'.

Добрый день.
В строке 195

 "name": "Slave On/Off"

Замените на

 "name": "Slave On-Off"

Можно, в общем экранировать слэш, но тогда экранирование надо будет использовать при любом обращении к нему, что неудобно.

1 лайк

Эта тема была автоматически закрыта через 7 дней после последнего ответа. В ней больше нельзя отвечать.