I can’t get broadlink RM4 mini working. When I try to run the remote.learn_command I get the error: Failed to call service remote.learn_command. Unknown error.
I can see that it actually learns the code and stores it in broadlink_remote_ec0bae0c97c9_codes
I get the same error trying to run the remote.send_command.
Are you getting any error messages? I get quite a lot of these from my RM4:
2023-08-03 14:46:43.421 ERROR (MainThread) [homeassistant.components.broadlink.updater] Error fetching Broadlink remote (RM4 mini at 192.168.1.101) data: [Errno -4000] Network timeout: No response received within 10s
This was the first one I set up - with later ones I specified a longer timeout.
I get these ValueError: Enum RemoteKeyCode has no value defined for name 'KEYCODE_sluk' ValueError: Enum RemoteKeyCode has no value defined for name 'KEYCODE_8grader'