manymuch / Xgimi-4-Home-Assistant

XGIMI integration for home assistant
MIT License
161 stars 21 forks source link

如何使用语言指令 #6

Closed itq5 closed 1 year ago

itq5 commented 2 years ago

service: remote.send_command data: command: volumeup target: entity_id: remote.z6x

play, pause, power, back, home, menu, right, left up, down, volumedown, volumeup, poweroff, volumemute在HA里面需要怎么创建呢,第一次使用HA创建服务,望指导

manymuch commented 2 years ago

侧边栏developer tools里面有一个service, 可以手动调起服务 https://www.home-assistant.io/docs/tools/dev-tools/

itq5 commented 2 years ago

developer tools里面有一个service只是用于调试用的,这个怎么集成到ha,放他能直接ha上操作呢?

manymuch commented 2 years ago

怎么使用属于HA的操作了, 不过可以看下这个例子, 在dashboard里面生成一个遥控器面板 https://github.com/manymuch/Xgimi-4-Home-Assistant#dashboard-example