Controll ikea gu10 lamp with z-wave dimmer

Hi! I have a z-wave dimmer in my kitchen that I control seven halogen bulbs with. In the kitchen there is also two gu10 bulbs that i want to control with the same switch. The problem is that I can’t connect them to the same dimmer switch because it’s not support different loads. Is there any way to use the brightness level (in hass.io) from the z-wave dimmer as a trigger to control two smart gu10 lamp. In that way I can control the brightness level with my z-wave switch.

Yes! I think you should look into template lights.

Found a solution.

trigger:
  entity_id: sensor.zwave1
  platform: state
condition: []
action:
  - service: light.turn_on
    entity_id: light.kitchen
    data_template:
      brightness: >
        {{ states('sensor.zwave1')|int }}
1 Like