It is not very difficult, but it needs some configuration. First of all, I suggest you read this topic :
so you know how to create sensors when a button on your remote is pressed.
Then you can create simple automations like this :
- id: '1565365902539'
alias: Ikea switch2
trigger:
- payload: 'ON'
platform: mqtt
topic: sensor/ikea_switch2_sensor
condition: []
action:
- data:
entity_id: switch.ikeaoutlet2_switch
service: switch.toggle
This is an example for a switch, but the idea is the same for a light.