What am i doing wrong

no joy?

what are these 2 buttons? you’re currently trying to use the garage switch but I see you have a garage wireless button…

Garage Switch = Belkin Wemo Maker (opens door)
Garage Wireless button = automation built with GUI (allows an option to turn on and off on main screen)

Thanks. Your garage switch doesn’t appear to change states so you can’t use it to open your door I’m afraid.
It’s either not configured correctly or not working…

i wonder if it needs more configuration, as it showing as pressed in the Mi home app. Home assistant picked it up instantly.

its working… code that works in case anyone has similar need

- id: '1539717711439'
  alias: garage wireless button
  trigger:
    platform: event
    event_type: click
    event_data:
      entity_id: binary_sensor.switch_158d0002132960
      click_type: single
  action:
    service: switch.toggle
    entity_id: switch.garage_door

checked other forum posts (this one in particular) and this appears to be a working trigger:

- alias: Xiaomi Button
  trigger:
    platform: event
    event_type: click
    event_data:
      entity_id: binary_sensor.switch_xxxxxxxxxxxxxxx
      click_type: long_click_press
  action:
    service: light.toggle
    data:
      entity_id: light.gateway_light_xxxxxxxxxxx