Mirror a switch controlling a light

I have an RF443 based setup supplemented with some LIFX lights. Now I would like to use a 443 remote controller ( AYCT-202 KaKu) to control a LIFX light via HA.
I’ve got a basic setup using triggers for each button, but I was wondering (before I’m going to have to write a lengthy trigger for brightness handling) if I’m doing this the right way? Isn’t there an easier way to mirror a control?

The code so far:

- id: livingroom_switch1_on
  alias: Switch schemerlampen aan
  trigger:
    platform: state
    entity_id: light.kamer_1
  action:
    - service: light.turn_on
      data_template:
        entity_id: light.livingroom_lights
        brightness: 40
        kelvin: 3000

- id: livingroom_switch1_off
  alias: Switch schemerlampen uit
  trigger:
    platform: state
    entity_id: light.kamer_1
    to: 'off'
    # for:
    #   seconds: 3
  action:
    - service: light.turn_off
      data_template:
        entity_id: light.livingroom_lights

I believe I’ve found the solution here:
How to link 2 switches together, so state of one mirrors state of second where chairstacker suggests to use service_template