Xiaomi IR Remote configuration help

hello,
im trying to configur Xiaomi IR Remote with HA .
i did sucsses with the learn_command and get the IR command.
but in the configutration and script file I’m kind of having a hard time.

here is the instraction :

here is my configuration:
https://hastebin.com/uwaradawuc.bash
thanks

Hello, you configuration is wrong, please find the correct one at below
remote:

  • platform: xiaomi_miio
    name: “bathroom remote”
    host: 10.0.0.28
    token: 2730e314afd33294efe95b30dd7166c5
    slot: 10
    timeout: 30
    hidden: true
    command:
    power:
    command:
    - raw: Z6VHAFgDAACEAwAAqQYAAPgGAADIXgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQMBAQEBASEBA0EBAQMBAQEBASEBA0EBAQMBAQEBASEBAwE