Schedy generic actor for dimming lights

I have tried to create a schedule in Schedy in order to switch a light automatically on and off and also to change the brightness.

Somehow, it does not work.
The log shows error messages:

  • Received state which is not configured as a value.
  • Value (‘on’, 65) is not known by this actor.

Unfortunately, I have found very little examples of the generic2 actor being used with numeric values instead of just on/off.

Here is the schedule:

schedy_dimmer: # This is our app instance name.
  module: hass_apps_loader
  class: SchedyApp

  actor_type: generic2

  actor_templates:
  default:
    attributes:
      - attribute: state
      - attribute: brightness_pct
    values:
      - value: ["on", "*"]
        calls:
          - service: light.turn_on
            data:
              brightness_pct: "{attr2}"
        ignore_case: true

  schedule_append:
    - v: ["on", 65]
      rules:
        - x: "Next() if state('input_select.dimm1') == 'Normal' else Break()"
        - { start: "21:27", end: "21:29" }
    - v: ["on", 35]
      rules:
        - x: "Next() if state('input_select.dimm1') == 'Normal' else Break()"
        - { start: "21:23", end: "06:15" }
    - v: ["on", 0]

  watched_entities:
    - input_select.dimm1

  rooms:
    wohnzimmer:
      actors:
        light.wohnzimmer:
      schedule:

AppDaemon v4.4.2