Work around for Tuya based lights, using template light

I have some tuya based lights that do not play nice with HA via tuya integration (official or local) Something over my head to do with mapping DPs. Anyway I can only control with scenes created inside of tuya. I have individual scenes to change brightness and temp in 10% increments.

Can this be templated to act like it belongs to the light domain?

On / off with script works fine but I can’t seem to format a level_template or a set_level using input_selects that activate corresponding scenes.

level_template: "{{ state_attr('input_select.brightness', 'options') }}"
set_level:
  action: input_select.select_option
  target:
    entity_id: input_select.brightness