I spelled things out as text and the problem disappeared
Bridge mqtt:broker:zigbeeBroker [ host=“192.168.0.101”, secure=false, username=“admin”, password=“admin” ]
{
Thing topic motion_sensor2 "Датчик движения 2" @ "Your room"
{
Channels:
Type switch : status2 "status2" [ stateTopic = "zigbee2mqtt/motion_sensor2/occupancy", off="false", on="true" ]
Type number : battery2 "battery2" [ stateTopic = "zigbee2mqtt/motion_sensor2/battery" ]
Type number : linkquality2 "linkquality2" [ stateTopic = "zigbee2mqtt/motion_sensor2/linkquality" ]
}
Thing topic motion_sensor1 "Датчик движения 1" @ "Your room"
{
Channels:
Type switch : status1 "status1" [ stateTopic = "zigbee2mqtt/motion_sensor1/occupancy", off="false", on="true" ]
Type number : battery1 "battery1" [ stateTopic = "zigbee2mqtt/motion_sensor1/battery" ]
Type number : linkquality1 "linkquality1" [ stateTopic = "zigbee2mqtt/motion_sensor1/linkquality" ]
}
Thing topic motion_sensor3 "Датчик движения 3" @ "Your room"
{
Channels:
Type switch : occupancy "occupancy" [ stateTopic = "zigbee2mqtt/motion_sensor3/occupancy", on="true", off="false" ]
Type number : illuminance "illuminance" [ stateTopic = "zigbee2mqtt/motion_sensor3/illuminance" ]
Type number : battery "battery" [ stateTopic = "zigbee2mqtt/motion_sensor3/battery" ]
Type number : linkquality "linkquality" [ stateTopic = "zigbee2mqtt/motion_sensor3/linkquality" ]
}
}
//Датчик движения 1
Switch Status1 “Occupancy1” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor1:status1”}
Number Battery1 “Battery1” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor1:battery1”}
Number Linkquality1 “Linkquality1” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor1:linkquality1”}
//Датчик движения 2
Switch Status2 “Occupancy2” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor2:status2”}
Number Battery2 “Battery2” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor2:battery2”}
Number Linkquality2 “Linkquality2” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor2:linkquality2”}
//Датчик движения 3
Switch Occupancy3 “Occupancy3” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor3:occupancy”}
Number Illuminance3 “Illuminance3” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor3:illuminance”}
Number Battery3 “Battery3” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor3:battery”}
Number Linkquality3 “Linkquality3” (dveri_vxod) [ “Status” ] {channel=“mqtt:topic:zigbeeBroker:motion_sensor3:linkquality”}