zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Xiaomi MCCGQ01LM doesn't update HA frontend under binary_sensors platform.

Open HKC001 opened this issue 8 years ago • 2 comments

Using the Xiaomi MCCGQ01LM door sensor under the binary_sensors platform, state changes are updated in the zigbee2mqtt logs, but not in the front end.

Using the same sensors under the sensors platform, everything it works fine.

- platform: mqtt
  name: "contact 1"
  state_topic: "zig/0x00158d00024e1a0a"
  availability_topic: "zig/bridge/state"
  payload_on: "false"
  payload_off: "true"
  value_template: "{{ value_json.contact }}"
  device_class: "door"
  qos: 0
  retain: true
  optimistic: false

HKC001 avatar Oct 01 '18 02:10 HKC001

Is this an homeassistant issue?

Koenkk avatar Oct 01 '18 10:10 Koenkk

I'm not sure. I switched to auto discovery and everything seems to work fine now. Closing issue, thanks!

HKC001 avatar Oct 02 '18 03:10 HKC001