curl --request GET \
--url http://0.0.0.0:3000/v1/irrf-commands \
--header 'Authorization: Bearer <token>'[
{
"id": 1,
"entity_registry_id": 5,
"config_entry_id": 2,
"command_name": "power",
"code": "0000 006C 0022 0002...",
"remote_entity_id": "remote.ir_blaster",
"user_id": "user_abc123"
}
]curl --request GET \
--url http://0.0.0.0:3000/v1/irrf-commands \
--header 'Authorization: Bearer <token>'[
{
"id": 1,
"entity_registry_id": 5,
"config_entry_id": 2,
"command_name": "power",
"code": "0000 006C 0022 0002...",
"remote_entity_id": "remote.ir_blaster",
"user_id": "user_abc123"
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
entity_id da entidade IR (ex: sensor.tv_sala)