(Solved) Tts.google_translate giving incorrect state

I have a Aqara WiFi button that I use to toggle on and off my coffee machine but I would also like an audio confirmation of power change. I have TTS working correctly with my google cast devices, I have the correct base_url settings and I can send test text to my google home.

The button press automation works correctly, the coffee machine power toggles and the google home gives me a message but the message reports the opposite state of the switch!

My automation config is as follows:

- id: '1569753145600'
  alias: Toggle Coffee Machine
  trigger:
  - event_data:
      click_type: single
      entity_id: binary_sensor.switch_158d0001a6679a
    event_type: xiaomi_aqara.click
    platform: event
  condition: []
  action:
  - device_id: dbbf6248f86b4272ab48ca1fd00ce33f
    domain: switch
    entity_id: switch.plug7
    type: toggle
  - service: tts.google_translate_say
    entity_id: media_player.kitchen_speaker
    data_template:
      message: "Coffee Machine is {{states('switch.plug7')}}"

If I turn on the coffee machine with the Wifi button the TTS through my Google Home states “Coffee Machine is OFF”, when I turn it back off with the Aqara button TTS now tells me that “Coffee Machine is ON”.

I cannot see any reason why the TTS reports the invert of the switch state but I am obviously missing something!!

Any Ideas?

The answer was adding a delay between the toggle and TTS action!

Even adding a 1 second delay meant that the TTS reported the correct state of the switch.