Creating an entity with a service to set a zwave parameter

I have a Z-wave device (wall plug) that is setup in HA using zwave-js-ui. The device has multiple entities, but there is one entity missing that sets the state of the LED indicator. I already know that this can be managed by a service, but I want to add this as an entity and also as a capability of a compound device for an external device (Homey).

Yaml service: LED off state

service: zwave_js.set_config_parameter
data:
  parameter: "3"
  value: "0x00"
target:
  device_id: 47e324e99782d651ba52ebdf1fc336c5

Yaml service: LED on state

service: zwave_js.set_config_parameter
data:
  parameter: "3"
  value: "0x01"
target:
  device_id: 47e324e99782d651ba52ebdf1fc336c5

How can I add this to a compound device in YAML (and which yaml file) including the option to add it as an entity in the HA dashboard? Nothing that I read so far brought me a solution.