本帖最后由 jerrykkk 于 2018-10-7 22:26 编辑
折腾了好长时间,才发现问题。
报错信息:
习惯性的在冒号后面留一个空格,raw:后面不能留。
remote:
- platform: xiaomi_miio
name: "ir remote"
host: 192.168.50.35
token: YOUR TOKEN
slot: 1
timeout: 30
hidden: false
commands:
active_kitchen_lighting:
command:
- raw:Z6WbAFUCAAC0BAAAfQkAAN9mAACGZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAEAAAEAAAEAAAAwAgABAAABAAABAAAAMAIAAQAAAQAAAQAAAEACAAEAAAEAAAEAAABAAgABAAABAAABAAAAQAIAAQAAAQAAAQAAAAA=
balcony_lighting:
command:
- raw:Z6WBAFMCAAC6BAAAgQkAAJRkAAAoZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAQEAAAEAAAEAAAAwAgEBAAABAAABAAAAMAIBAQAAAQAAAQAAAEACAQEAAAEAAAEAAABAAgEBAAABAAABAAAAAA==
|