|
@@ -265,7 +265,9 @@ compatible with this scheme.
|
|
|
|
|
|
|
|
Tuya IR and RF blasters are exposed as remote entities and support learning and
|
|
Tuya IR and RF blasters are exposed as remote entities and support learning and
|
|
|
sending commands via the standard Home Assistant remote services. IR blasters are
|
|
sending commands via the standard Home Assistant remote services. IR blasters are
|
|
|
-also exposed as general `infrared` emitters.
|
|
|
|
|
|
|
+also exposed as general `infrared` emitters, and learned commands can be sent to
|
|
|
|
|
+other `infrared` emitters using the tuya-local specific "Send Learned IR command"
|
|
|
|
|
+service.
|
|
|
|
|
|
|
|
### Learning commands
|
|
### Learning commands
|
|
|
|
|
|
|
@@ -286,15 +288,19 @@ other HA integrations, including
|
|
|
learning remote commands via an ESPHome receiver and sending them to
|
|
learning remote commands via an ESPHome receiver and sending them to
|
|
|
any supported `infrared` emitter.
|
|
any supported `infrared` emitter.
|
|
|
|
|
|
|
|
-To send learned commands, you use the `remote.send_command` service
|
|
|
|
|
-with the same `command` and `device` values used when learning. You
|
|
|
|
|
-can also send known Tuya codes directly without learning first:
|
|
|
|
|
|
|
+To send learned commands using the same `remote` entity, you use the
|
|
|
|
|
+`remote.send_command` service with the same `command` and `device`
|
|
|
|
|
+values used when learning. You can also send known Tuya codes directly
|
|
|
|
|
+without learning first:
|
|
|
|
|
|
|
|
- **IR inline code**: prefix with `b64:` followed by the base64-encoded IR code
|
|
- **IR inline code**: prefix with `b64:` followed by the base64-encoded IR code
|
|
|
- **RF inline code**: prefix with `rf:` followed by the base64-encoded RF code
|
|
- **RF inline code**: prefix with `rf:` followed by the base64-encoded RF code
|
|
|
|
|
|
|
|
-<!-- There is also a special `send_learned_ir_command` service for sending commands
|
|
|
|
|
-learned by the `remote` entity to any `infrared` emitter (including non-Tuya ones). -->
|
|
|
|
|
|
|
+There is also a special `send_learned_ir_command` service for sending commands
|
|
|
|
|
+learned by the `remote` entity to any `infrared` emitter (including non-Tuya ones).
|
|
|
|
|
+To use this, you must specify the `remote` entity the learned command was saved
|
|
|
|
|
+with, the target `infrared` emitter entity, and the `command` and optional `device`
|
|
|
|
|
+the command was saved as.
|
|
|
|
|
|
|
|
|
|
|
|
|
### UI
|
|
### UI
|