Zigbee2mqtt: getting rid of your proprietary Zigbee bridges (Xiaomi, Hue, TRADFRI)

Thanks @ryanbeaton - I have upgraded to 1.2.1 and still the same - the zigbee xiaomi sockets do not automatically switch on after power is restored. What happens is when power power input is lost to the zigbee switch and that switch is turned on, the device/switch goes to “Unavailable” after the availability timeout figure of 15 seconds or so. When power is restored, the zigbee switch is detected as online again, and the switch remains OFF. Here is part of my relevant configuration.yaml for zigbee2mqtt

advanced:
  availability_timeout: 15
  cache_state: true
  report: true
  
devices:
  '0x00158d0001a1f3d3':
    friendly_name: '0x00158d0001a1f3d3'
    retain: true