Homekit: irrigationsystem

i thing there is sth wrong with the active characteristic:
active state is not changing when i turn the item switch to on/off and homekit shows irrigation system as always disabled.

Group gIrrigationSystem “Rainbird” { homekit=“IrrigationSystem” }

String irrigationSystemProgramMode (gIrrigationSystem) { homekit=“ProgramMode” }

Switch irrigationSystemEnabled (gIrrigationSystem) { homekit=“Active” }


1/ 296924376 Rainbird
Services:
  Service Type: IrrigationSystemService (000000CF-0000-1000-8000-0026BB765291)
    Characteristics:
      ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":1,"valid-values":[0,1]}
      InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
      ProgramModeCharacteristic: {"iid":0,"type":"D1","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1,2]}
      RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":0,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
    Linked Services:
    Service Type: ValveService (000000D0-0000-1000-8000-0026BB765291)
      Characteristics:
        ActiveCharacteristic: {"iid":0,"type":"B0","perms":["pr","pw","ev"],"format":"int","value":0,"valid-values":[0,1]}
        InUseCharacteristic: {"iid":0,"type":"D2","perms":["pr","ev"],"format":"int","value":0,"valid-values":[0,1]}
        ValveTypeCharacteristic: {"iid":0,"type":"D5","perms":["pr","ev"],"format":"int","value":1,"valid-values":[0,1,2,3]}
        SetDurationCharacteristic: {"iid":0,"type":"D3","perms":["pr","pw","ev"],"format":"int","value":600,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
        RemainingDurationCharacteristic: {"iid":0,"type":"D4","perms":["pr","ev"],"format":"int","value":0,"minValue":0,"maxValue":3600,"minStep":1,"unit":"s"}
        ServiceLabelIndexCharacteristic: {"iid":0,"type":"CB","perms":["pr"],"format":"int","value":1,"minValue":0,"maxValue":100,"minStep":1,"unit":"%"}
        NameCharacteristic: {"iid":0,"type":"23","perms":["pr"],"format":"string","value":"Sekcja 1 - trawnik ","maxLen":255}

after changing item definition to this- it’s working probably the documentation should be updated.

Group gIrrigationSystem "Rainbird" { homekit="IrrigationSystem" }

String irrigationSystemProgramMode (gIrrigationSystem) { homekit="IrrigationSystem.ProgramMode" }

Switch irrigationSystemEnabled (gIrrigationSystem) { homekit="IrrigationSystem.Active" }

Switch irrigationSystemInUse (gIrrigationSystem) { homekit="IrrigationSystem.InUseStatus" }

String irrigationZonetoRun (gIrrigationSystem)

Group irrigationSystemTotalRemaining (gIrrigationSystem) { homekit="IrrigationSystem.RemainingDuration" }

@yfre