hi there,
i am very new to home assistant. so i am a little confuse what to do next.
my current plan is
- integrating xiao mi ir blaster to home assistant
- integrating google assistant
- be able to turn on or off my tv or aircon using home assistant as well as google assistant.
my current progress.
- 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
- 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.