How to manage paired devices with Tasmota ZB-GW03 hub in Home Assistant

This is still not correct, wrong " (copying from unformatted code wrangles the ")

I have blown on them and suddenly it worked. For sure I have also replaced the wrangled " for normal ones :slightly_smiling_face:
Anyway; many thanks for sharing your experience and your quick replies. Everything works now!

1 Like

Hello, another issue: I bought a ZigBee PIR Motion Sensor.
The console output when there is motion:

01:06:47.113 MQT: tele/tasmota_2D3B58/SENSOR = {“ZbReceived”:{“0x7E65”:{“Device”:“0x7E65”,“ZoneStatus”:1,“Occupancy”:1,“Endpoint”:1,“LinkQuality”:37}}}

I tried to use the same template as for the other sensor, so I add in config.yaml:
- unique_id: “49b96f91-a393-4ba4-bcdd-189bcfb2f849”
name: “Beweging achter”
state_topic: “tele/tasmota_2D3B58/SENSOR”
value_template: “{{ value_json[‘ZbReceived’][‘0x7E65’][‘ZoneStatus’] }}”
availability_topic: “tele/tasmota_2D3B58/LWT”
payload_available: “Online”
payload_not_available: “Offline”
qos: 0
device_class: “motion”
unit_of_measurement: ‘motion’

Unfortunately it gives errors:
Error: expected SensorDeviceClass or one of ‘date’, ‘enum’, ‘timestamp’, ‘apparent_power’, ‘aqi’, ‘atmospheric_pressure’, ‘battery’, ‘carbon_monoxide’, ‘carbon_dioxide’, ‘current’, ‘data_rate’, ‘data_size’, ‘distance’, ‘duration’, ‘energy’, ‘energy_storage’, ‘frequency’, ‘gas’, ‘humidity’, ‘illuminance’, ‘irradiance’, ‘moisture’, ‘monetary’, ‘nitrogen_dioxide’, ‘nitrogen_monoxide’, ‘nitrous_oxide’, ‘ozone’, ‘ph’, ‘pm1’, ‘pm10’, ‘pm25’, ‘power_factor’, ‘power’, ‘precipitation’, ‘precipitation_intensity’, ‘pressure’, ‘reactive_power’, ‘signal_strength’, ‘sound_pressure’, ‘speed’, ‘sulphur_dioxide’, ‘temperature’, ‘volatile_organic_compounds’, ‘volatile_organic_compounds_parts’, ‘voltage’, ‘volume’, ‘volume_storage’, ‘volume_flow_rate’, ‘water’, ‘weight’, ‘wind_speed’ for dictionary value @ data[‘device_class’].

I tried as well:
motion:
- unique_id: “49b96f91-a393-4ba4-bcdd-189bcfb2f849”
name: “Beweging sensor achter 1”
state_topic: “tele/tasmota_2D3B58/MOTION”
availability_topic: “tele/tasmota_2D3B58/LWT”
payload_available: “Online”
payload_not_available: “Offline”
device_class: motion

but that is invalid as well; Integration ‘motion’ not found.

Any suggestion how to define this ZigBee PIR Motion Sensor in configuration.yaml so that it will become available as enitity?

I found out myself:

In configuration.yaml:

binary_sensor:
- unique_id: “c727f4c6-1a15-441e-bd1b-52274dcfc3ee”
name: “Beweging Ali 1”
state_topic: “tele/tasmota_2D3B58/SENSOR”
payload_on: “1”
payload_off: “0”
availability:
- topic: “tele/tasmota_2D3B58/LWT”
payload_available: “Online”
payload_not_available: “Offline”
qos: 0
device_class: “opening”
value_template: “{{ value_json[‘ZbReceived’][‘0x7E65’][‘ZoneStatusChange’] }}”