We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc03ae commit 55cd925Copy full SHA for 55cd925
source/_integrations/remote.xiaomi_miio.markdown
@@ -85,6 +85,25 @@ remote:
85
- pronto:pronto_hex:[optional_repeat]
86
```
87
88
+## Add command as entity button in Lovelace UI
89
+
90
+```yaml
91
+type: entity-button
92
+tap_action:
93
+ action: call-service
94
+ service: remote.send_command
95
+ service_data:
96
+ command: activate_towel_heater
97
+ entity_id: remote.xiaomi_miio_ir
98
+hold_action:
99
+ action: more-info
100
+show_icon: true
101
+show_name: true
102
+entity: remote.xiaomi_miio_ir
103
+icon: 'mdi:radiator'
104
+name: Activate Towel Heater
105
+```
106
107
## Use named commands to create UI buttons
108
109
```yaml
0 commit comments