Xiaomi ir remote set up with google assistant

hi there,

i am very new to home assistant. so i am a little confuse what to do next.
my current plan is

  1. integrating xiao mi ir blaster to home assistant
  2. integrating google assistant
  3. be able to turn on or off my tv or aircon using home assistant as well as google assistant.

my current progress.

  1. i have manage to integrate xiao mi ir blaster and creating 3 command following this.
    https://www.home-assistant.io/components/remote.xiaomi_miio/

this is what i enter to my configuration.yaml

remote:
  - platform: xiaomi_miio
    name: "livingroom_remote"
    host: 192.168.xxx.xx
    token: e5ca5dd8fb1918888aca3e4e79c9dae0
    slot: 1
    timeout: 30
    hidden: true
    commands:
      turnon_ac:
        command:
          - raw:Z6XTAOEBAABNBQAAQAcAAAUPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjABAAEAAQABAAEAAQEAAQABAQEBAAABAQAAAAABAAAAAQAAAAAAAQEBAAAAAQAAAAABAAABAQEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAQEBAQEAAAABAQABAA
      turnoff_ac:
        command:
          - raw:Z6XTAN8BAABUBQAARgcAAP8OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjABAAEAAQABAAEAAQEAAQABAQEBAAABAQAAAAABAAAAAQAAAAAAAQEBAAAAAAEAAAABAAABAQEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAQEBAQEAAAAAAAABAA
      turnon_tv:
        command:
          - raw:Z6VLADQCAACSBgAAyggAAJ4RAABdIwAAbJ0AAFh5AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0AAAQAAAAAAAQEAAQEBAQEAAAABAAAAAAEBAQABAQEBBQJGAkAA==

and in script.yaml

turn_offac:
  sequence:
  - data:
      command: turnoff_ac
    entity_id: remote.livingroom_remote
    service: remote.send_command
turn_onac:
  sequence:
  - service: remote.send_command
    entity_id: remote.livingroom_remote
    data:
      command:
      - turnon_ac

  1. i have manage too integrate google assistant. i am able to turn on switches by voice.

my question is,

how do i get to be able to turn on my tv by voice?
all i get in google home app is

  • light
  • all automation
  • all script
    but no individual script.

any help really appreciated.