code.pfad.fr/gohmekit@v0.2.1/hapip/characteristic/apple_characteristic_gen.go (about)

     1  // Code generated by cmd/generate/main.go; DO NOT EDIT.
     2  
     3  package characteristic
     4  
     5  type AccessoryFlags_Type uint32
     6  
     7  const AccessoryFlags_RequiresAdditionalSetup = AccessoryFlags_Type(1 << 0)
     8  
     9  var AccessoryFlags_Meta = Metadata[uint32]{
    10  	Typ: "A6",
    11  }
    12  
    13  // AccessoryFlags represents a Accessory Flags characteristic (A6)
    14  //
    15  // UUID: 000000A6-0000-1000-8000-0026BB765291.
    16  func AccessoryFlags(value AccessoryFlags_Type) *Updatable[uint32] {
    17  	static := Static[uint32]{
    18  		Metadata: AccessoryFlags_Meta,
    19  		value:    uint32(value),
    20  	}
    21  	return &Updatable[uint32]{
    22  		Static: static,
    23  	}
    24  }
    25  
    26  type Active_Type uint8
    27  
    28  const Active_Inactive = Active_Type(0)
    29  const Active_Active = Active_Type(1)
    30  
    31  var Active_Meta = Metadata[uint8]{
    32  	Typ: "B0",
    33  }
    34  
    35  // Active represents a Active characteristic (B0)
    36  //
    37  // UUID: 000000B0-0000-1000-8000-0026BB765291.
    38  func Active(value Active_Type, controllerWrite func(uint8) error) *Writable[uint8] {
    39  	static := Static[uint8]{
    40  		Metadata: Active_Meta,
    41  		value:    uint8(value),
    42  	}
    43  	return &Writable[uint8]{
    44  		Updatable: Updatable[uint8]{Static: static},
    45  		write: controllerWrite,
    46  	}
    47  }
    48  
    49  var ActiveIdentifier_Meta = Metadata[uint32]{
    50  	Typ: "E7",
    51  	MinValue: ValuePointer[uint32](0),
    52  }
    53  
    54  // ActiveIdentifier represents a Active Identifier characteristic (E7)
    55  //
    56  // UUID: 000000E7-0000-1000-8000-0026BB765291.
    57  func ActiveIdentifier(value uint32, controllerWrite func(uint32) error) *Writable[uint32] {
    58  	static := Static[uint32]{
    59  		Metadata: ActiveIdentifier_Meta,
    60  		value:    value,
    61  	}
    62  	return &Writable[uint32]{
    63  		Updatable: Updatable[uint32]{Static: static},
    64  		write: controllerWrite,
    65  	}
    66  }
    67  
    68  var AdministratorOnlyAccess_Meta = Metadata[bool]{
    69  	Typ: "1",
    70  }
    71  
    72  // AdministratorOnlyAccess represents a Administrator Only Access characteristic (1)
    73  //
    74  // UUID: 00000001-0000-1000-8000-0026BB765291.
    75  func AdministratorOnlyAccess(value bool, controllerWrite func(bool) error) *Writable[bool] {
    76  	static := Static[bool]{
    77  		Metadata: AdministratorOnlyAccess_Meta,
    78  		value:    value,
    79  	}
    80  	return &Writable[bool]{
    81  		Updatable: Updatable[bool]{Static: static},
    82  		write: controllerWrite,
    83  	}
    84  }
    85  
    86  var AirParticulateDensity_Meta = Metadata[float64]{
    87  	Typ: "64",
    88  	MinValue: ValuePointer[float64](0),
    89  	MaxValue: ValuePointer[float64](1000),
    90  	MinStep: 1,
    91  }
    92  
    93  // AirParticulateDensity represents a Air Particulate Density characteristic (64)
    94  //
    95  // UUID: 00000064-0000-1000-8000-0026BB765291.
    96  func AirParticulateDensity(value float64) *Updatable[float64] {
    97  	static := Static[float64]{
    98  		Metadata: AirParticulateDensity_Meta,
    99  		value:    value,
   100  	}
   101  	return &Updatable[float64]{
   102  		Static: static,
   103  	}
   104  }
   105  
   106  type AirParticulateSize_Type uint8
   107  
   108  const AirParticulateSize_25M = AirParticulateSize_Type(0)
   109  const AirParticulateSize_10M = AirParticulateSize_Type(1)
   110  
   111  var AirParticulateSize_Meta = Metadata[uint8]{
   112  	Typ: "65",
   113  }
   114  
   115  // AirParticulateSize represents a Air Particulate Size characteristic (65)
   116  //
   117  // UUID: 00000065-0000-1000-8000-0026BB765291.
   118  func AirParticulateSize(value AirParticulateSize_Type) *Updatable[uint8] {
   119  	static := Static[uint8]{
   120  		Metadata: AirParticulateSize_Meta,
   121  		value:    uint8(value),
   122  	}
   123  	return &Updatable[uint8]{
   124  		Static: static,
   125  	}
   126  }
   127  
   128  type AirQuality_Type uint8
   129  
   130  const AirQuality_Unknown = AirQuality_Type(0)
   131  const AirQuality_Excellent = AirQuality_Type(1)
   132  const AirQuality_Good = AirQuality_Type(2)
   133  const AirQuality_Fair = AirQuality_Type(3)
   134  const AirQuality_Inferior = AirQuality_Type(4)
   135  const AirQuality_Poor = AirQuality_Type(5)
   136  
   137  var AirQuality_Meta = Metadata[uint8]{
   138  	Typ: "95",
   139  }
   140  
   141  // AirQuality represents a Air Quality characteristic (95)
   142  //
   143  // UUID: 00000095-0000-1000-8000-0026BB765291.
   144  func AirQuality(value AirQuality_Type) *Updatable[uint8] {
   145  	static := Static[uint8]{
   146  		Metadata: AirQuality_Meta,
   147  		value:    uint8(value),
   148  	}
   149  	return &Updatable[uint8]{
   150  		Static: static,
   151  	}
   152  }
   153  
   154  var AudioFeedback_Meta = Metadata[bool]{
   155  	Typ: "5",
   156  }
   157  
   158  // AudioFeedback represents a Audio Feedback characteristic (5)
   159  //
   160  // UUID: 00000005-0000-1000-8000-0026BB765291.
   161  func AudioFeedback(value bool, controllerWrite func(bool) error) *Writable[bool] {
   162  	static := Static[bool]{
   163  		Metadata: AudioFeedback_Meta,
   164  		value:    value,
   165  	}
   166  	return &Writable[bool]{
   167  		Updatable: Updatable[bool]{Static: static},
   168  		write: controllerWrite,
   169  	}
   170  }
   171  
   172  var BatteryLevel_Meta = Metadata[uint8]{
   173  	Typ: "68",
   174  	Unit: "percentage",
   175  	MinValue: ValuePointer[uint8](0),
   176  	MaxValue: ValuePointer[uint8](100),
   177  	MinStep: 1,
   178  }
   179  
   180  // BatteryLevel represents a Battery Level characteristic (68)
   181  //
   182  // UUID: 00000068-0000-1000-8000-0026BB765291.
   183  func BatteryLevel(value uint8) *Updatable[uint8] {
   184  	static := Static[uint8]{
   185  		Metadata: BatteryLevel_Meta,
   186  		value:    value,
   187  	}
   188  	return &Updatable[uint8]{
   189  		Static: static,
   190  	}
   191  }
   192  
   193  var Brightness_Meta = Metadata[int32]{
   194  	Typ: "8",
   195  	Unit: "percentage",
   196  	MinValue: ValuePointer[int32](0),
   197  	MaxValue: ValuePointer[int32](100),
   198  	MinStep: 1,
   199  }
   200  
   201  // Brightness represents a Brightness characteristic (8)
   202  //
   203  // UUID: 00000008-0000-1000-8000-0026BB765291.
   204  func Brightness(value int32, controllerWrite func(int32) error) *Writable[int32] {
   205  	static := Static[int32]{
   206  		Metadata: Brightness_Meta,
   207  		value:    value,
   208  	}
   209  	return &Writable[int32]{
   210  		Updatable: Updatable[int32]{Static: static},
   211  		write: controllerWrite,
   212  	}
   213  }
   214  
   215  type CarbonDioxideDetected_Type uint8
   216  
   217  const CarbonDioxideDetected_CO2LevelsNormal = CarbonDioxideDetected_Type(0)
   218  const CarbonDioxideDetected_CO2LevelsAbnormal = CarbonDioxideDetected_Type(1)
   219  
   220  var CarbonDioxideDetected_Meta = Metadata[uint8]{
   221  	Typ: "92",
   222  }
   223  
   224  // CarbonDioxideDetected represents a Carbon Dioxide Detected characteristic (92)
   225  //
   226  // UUID: 00000092-0000-1000-8000-0026BB765291.
   227  func CarbonDioxideDetected(value CarbonDioxideDetected_Type) *Updatable[uint8] {
   228  	static := Static[uint8]{
   229  		Metadata: CarbonDioxideDetected_Meta,
   230  		value:    uint8(value),
   231  	}
   232  	return &Updatable[uint8]{
   233  		Static: static,
   234  	}
   235  }
   236  
   237  var CarbonDioxideLevel_Meta = Metadata[float64]{
   238  	Typ: "93",
   239  	MinValue: ValuePointer[float64](0),
   240  	MaxValue: ValuePointer[float64](100000),
   241  }
   242  
   243  // CarbonDioxideLevel represents a Carbon Dioxide Level characteristic (93)
   244  //
   245  // UUID: 00000093-0000-1000-8000-0026BB765291.
   246  func CarbonDioxideLevel(value float64) *Updatable[float64] {
   247  	static := Static[float64]{
   248  		Metadata: CarbonDioxideLevel_Meta,
   249  		value:    value,
   250  	}
   251  	return &Updatable[float64]{
   252  		Static: static,
   253  	}
   254  }
   255  
   256  var CarbonDioxidePeakLevel_Meta = Metadata[float64]{
   257  	Typ: "94",
   258  	MinValue: ValuePointer[float64](0),
   259  	MaxValue: ValuePointer[float64](100000),
   260  }
   261  
   262  // CarbonDioxidePeakLevel represents a Carbon Dioxide Peak Level characteristic (94)
   263  //
   264  // UUID: 00000094-0000-1000-8000-0026BB765291.
   265  func CarbonDioxidePeakLevel(value float64) *Updatable[float64] {
   266  	static := Static[float64]{
   267  		Metadata: CarbonDioxidePeakLevel_Meta,
   268  		value:    value,
   269  	}
   270  	return &Updatable[float64]{
   271  		Static: static,
   272  	}
   273  }
   274  
   275  type CarbonMonoxideDetected_Type uint8
   276  
   277  const CarbonMonoxideDetected_COLevelsNormal = CarbonMonoxideDetected_Type(0)
   278  const CarbonMonoxideDetected_COLevelsAbnormal = CarbonMonoxideDetected_Type(1)
   279  
   280  var CarbonMonoxideDetected_Meta = Metadata[uint8]{
   281  	Typ: "69",
   282  }
   283  
   284  // CarbonMonoxideDetected represents a Carbon Monoxide Detected characteristic (69)
   285  //
   286  // UUID: 00000069-0000-1000-8000-0026BB765291.
   287  func CarbonMonoxideDetected(value CarbonMonoxideDetected_Type) *Updatable[uint8] {
   288  	static := Static[uint8]{
   289  		Metadata: CarbonMonoxideDetected_Meta,
   290  		value:    uint8(value),
   291  	}
   292  	return &Updatable[uint8]{
   293  		Static: static,
   294  	}
   295  }
   296  
   297  var CarbonMonoxideLevel_Meta = Metadata[float64]{
   298  	Typ: "90",
   299  	MinValue: ValuePointer[float64](0),
   300  	MaxValue: ValuePointer[float64](100),
   301  }
   302  
   303  // CarbonMonoxideLevel represents a Carbon Monoxide Level characteristic (90)
   304  //
   305  // UUID: 00000090-0000-1000-8000-0026BB765291.
   306  func CarbonMonoxideLevel(value float64) *Updatable[float64] {
   307  	static := Static[float64]{
   308  		Metadata: CarbonMonoxideLevel_Meta,
   309  		value:    value,
   310  	}
   311  	return &Updatable[float64]{
   312  		Static: static,
   313  	}
   314  }
   315  
   316  var CarbonMonoxidePeakLevel_Meta = Metadata[float64]{
   317  	Typ: "91",
   318  	MinValue: ValuePointer[float64](0),
   319  	MaxValue: ValuePointer[float64](100),
   320  }
   321  
   322  // CarbonMonoxidePeakLevel represents a Carbon Monoxide Peak Level characteristic (91)
   323  //
   324  // UUID: 00000091-0000-1000-8000-0026BB765291.
   325  func CarbonMonoxidePeakLevel(value float64) *Updatable[float64] {
   326  	static := Static[float64]{
   327  		Metadata: CarbonMonoxidePeakLevel_Meta,
   328  		value:    value,
   329  	}
   330  	return &Updatable[float64]{
   331  		Static: static,
   332  	}
   333  }
   334  
   335  type ChargingState_Type uint8
   336  
   337  const ChargingState_NotCharging = ChargingState_Type(0)
   338  const ChargingState_Charging = ChargingState_Type(1)
   339  const ChargingState_NotChargeable = ChargingState_Type(2)
   340  
   341  var ChargingState_Meta = Metadata[uint8]{
   342  	Typ: "8F",
   343  }
   344  
   345  // ChargingState represents a Charging State characteristic (8F)
   346  //
   347  // UUID: 0000008F-0000-1000-8000-0026BB765291.
   348  func ChargingState(value ChargingState_Type) *Updatable[uint8] {
   349  	static := Static[uint8]{
   350  		Metadata: ChargingState_Meta,
   351  		value:    uint8(value),
   352  	}
   353  	return &Updatable[uint8]{
   354  		Static: static,
   355  	}
   356  }
   357  
   358  type ClosedCaptions_Type uint8
   359  
   360  const ClosedCaptions_Disabled = ClosedCaptions_Type(0)
   361  const ClosedCaptions_Enabled = ClosedCaptions_Type(1)
   362  
   363  var ClosedCaptions_Meta = Metadata[uint8]{
   364  	Typ: "DD",
   365  	MinValue: ValuePointer[uint8](0),
   366  	MaxValue: ValuePointer[uint8](1),
   367  	MinStep: 1,
   368  }
   369  
   370  // ClosedCaptions represents a Closed Captions characteristic (DD)
   371  //
   372  // UUID: 000000DD-0000-1000-8000-0026BB765291.
   373  func ClosedCaptions(value ClosedCaptions_Type, controllerWrite func(uint8) error) *Writable[uint8] {
   374  	static := Static[uint8]{
   375  		Metadata: ClosedCaptions_Meta,
   376  		value:    uint8(value),
   377  	}
   378  	return &Writable[uint8]{
   379  		Updatable: Updatable[uint8]{Static: static},
   380  		write: controllerWrite,
   381  	}
   382  }
   383  
   384  var ConfiguredName_Meta = Metadata[string]{
   385  	Typ: "E3",
   386  }
   387  
   388  // ConfiguredName represents a Configured Name characteristic (E3)
   389  //
   390  // UUID: 000000E3-0000-1000-8000-0026BB765291.
   391  func ConfiguredName(value string, controllerWrite func(string) error) *Writable[string] {
   392  	static := Static[string]{
   393  		Metadata: ConfiguredName_Meta,
   394  		value:    value,
   395  	}
   396  	return &Writable[string]{
   397  		Updatable: Updatable[string]{Static: static},
   398  		write: controllerWrite,
   399  	}
   400  }
   401  
   402  
   403  // DisplayOrder represents a Display Order characteristic (136)
   404  //
   405  // UUID: 00000136-0000-1000-8000-0026BB765291.
   406  func DisplayOrder(value DisplayOrderResponse, controllerWrite func(DisplayOrderRequest) (DisplayOrderResponse, error)) *WritableTLV8[DisplayOrderRequest, DisplayOrderResponse] {
   407  	static := StaticTLV8[DisplayOrderResponse]{
   408  		Typ:   "136",
   409  		value: value,
   410  	}
   411  	return &WritableTLV8[DisplayOrderRequest, DisplayOrderResponse]{
   412  		UpdatableTLV8: UpdatableTLV8[DisplayOrderResponse]{StaticTLV8: static},
   413  		write: controllerWrite,
   414  	}
   415  }
   416  
   417  var ColorTemperature_Meta = Metadata[uint32]{
   418  	Typ: "CE",
   419  	MinValue: ValuePointer[uint32](140),
   420  	MaxValue: ValuePointer[uint32](500),
   421  	MinStep: 1,
   422  }
   423  
   424  // ColorTemperature represents a Color Temperature characteristic (CE)
   425  //
   426  // UUID: 000000CE-0000-1000-8000-0026BB765291.
   427  func ColorTemperature(value uint32, controllerWrite func(uint32) error) *Writable[uint32] {
   428  	static := Static[uint32]{
   429  		Metadata: ColorTemperature_Meta,
   430  		value:    value,
   431  	}
   432  	return &Writable[uint32]{
   433  		Updatable: Updatable[uint32]{Static: static},
   434  		write: controllerWrite,
   435  	}
   436  }
   437  
   438  type ContactSensorState_Type uint8
   439  
   440  const ContactSensorState_ContactDetected = ContactSensorState_Type(0)
   441  const ContactSensorState_ContactNotDetected = ContactSensorState_Type(1)
   442  
   443  var ContactSensorState_Meta = Metadata[uint8]{
   444  	Typ: "6A",
   445  }
   446  
   447  // ContactSensorState represents a Contact Sensor State characteristic (6A)
   448  //
   449  // UUID: 0000006A-0000-1000-8000-0026BB765291.
   450  func ContactSensorState(value ContactSensorState_Type) *Updatable[uint8] {
   451  	static := Static[uint8]{
   452  		Metadata: ContactSensorState_Meta,
   453  		value:    uint8(value),
   454  	}
   455  	return &Updatable[uint8]{
   456  		Static: static,
   457  	}
   458  }
   459  
   460  var CoolingThresholdTemperature_Meta = Metadata[float64]{
   461  	Typ: "D",
   462  	Unit: "celsius",
   463  	MinValue: ValuePointer[float64](10),
   464  	MaxValue: ValuePointer[float64](35),
   465  	MinStep: 0.1,
   466  }
   467  
   468  // CoolingThresholdTemperature represents a Cooling Threshold Temperature characteristic (D)
   469  //
   470  // UUID: 0000000D-0000-1000-8000-0026BB765291.
   471  func CoolingThresholdTemperature(value float64, controllerWrite func(float64) error) *Writable[float64] {
   472  	static := Static[float64]{
   473  		Metadata: CoolingThresholdTemperature_Meta,
   474  		value:    value,
   475  	}
   476  	return &Writable[float64]{
   477  		Updatable: Updatable[float64]{Static: static},
   478  		write: controllerWrite,
   479  	}
   480  }
   481  
   482  type CurrentAirPurifierState_Type uint8
   483  
   484  const CurrentAirPurifierState_Inactive = CurrentAirPurifierState_Type(0)
   485  const CurrentAirPurifierState_Idle = CurrentAirPurifierState_Type(1)
   486  const CurrentAirPurifierState_PurifyingAir = CurrentAirPurifierState_Type(2)
   487  
   488  var CurrentAirPurifierState_Meta = Metadata[uint8]{
   489  	Typ: "A9",
   490  }
   491  
   492  // CurrentAirPurifierState represents a Current Air Purifier State characteristic (A9)
   493  //
   494  // UUID: 000000A9-0000-1000-8000-0026BB765291.
   495  func CurrentAirPurifierState(value CurrentAirPurifierState_Type) *Updatable[uint8] {
   496  	static := Static[uint8]{
   497  		Metadata: CurrentAirPurifierState_Meta,
   498  		value:    uint8(value),
   499  	}
   500  	return &Updatable[uint8]{
   501  		Static: static,
   502  	}
   503  }
   504  
   505  var CurrentAmbientLightLevel_Meta = Metadata[float64]{
   506  	Typ: "6B",
   507  	Unit: "lux",
   508  	MinValue: ValuePointer[float64](0.0001),
   509  	MaxValue: ValuePointer[float64](100000),
   510  }
   511  
   512  // CurrentAmbientLightLevel represents a Current Ambient Light Level characteristic (6B)
   513  //
   514  // UUID: 0000006B-0000-1000-8000-0026BB765291.
   515  func CurrentAmbientLightLevel(value float64) *Updatable[float64] {
   516  	static := Static[float64]{
   517  		Metadata: CurrentAmbientLightLevel_Meta,
   518  		value:    value,
   519  	}
   520  	return &Updatable[float64]{
   521  		Static: static,
   522  	}
   523  }
   524  
   525  type CurrentDoorState_Type uint8
   526  
   527  const CurrentDoorState_Open = CurrentDoorState_Type(0)
   528  const CurrentDoorState_Closed = CurrentDoorState_Type(1)
   529  const CurrentDoorState_Opening = CurrentDoorState_Type(2)
   530  const CurrentDoorState_Closing = CurrentDoorState_Type(3)
   531  const CurrentDoorState_Stopped = CurrentDoorState_Type(4)
   532  
   533  var CurrentDoorState_Meta = Metadata[uint8]{
   534  	Typ: "E",
   535  }
   536  
   537  // CurrentDoorState represents a Current Door State characteristic (E)
   538  //
   539  // UUID: 0000000E-0000-1000-8000-0026BB765291.
   540  func CurrentDoorState(value CurrentDoorState_Type) *Updatable[uint8] {
   541  	static := Static[uint8]{
   542  		Metadata: CurrentDoorState_Meta,
   543  		value:    uint8(value),
   544  	}
   545  	return &Updatable[uint8]{
   546  		Static: static,
   547  	}
   548  }
   549  
   550  type CurrentFanState_Type uint8
   551  
   552  const CurrentFanState_Inactive = CurrentFanState_Type(0)
   553  const CurrentFanState_Idle = CurrentFanState_Type(1)
   554  const CurrentFanState_BlowingAir = CurrentFanState_Type(2)
   555  
   556  var CurrentFanState_Meta = Metadata[uint8]{
   557  	Typ: "AF",
   558  }
   559  
   560  // CurrentFanState represents a Current Fan State characteristic (AF)
   561  //
   562  // UUID: 000000AF-0000-1000-8000-0026BB765291.
   563  func CurrentFanState(value CurrentFanState_Type) *Updatable[uint8] {
   564  	static := Static[uint8]{
   565  		Metadata: CurrentFanState_Meta,
   566  		value:    uint8(value),
   567  	}
   568  	return &Updatable[uint8]{
   569  		Static: static,
   570  	}
   571  }
   572  
   573  type CurrentHeaterCoolerState_Type uint8
   574  
   575  const CurrentHeaterCoolerState_Inactive = CurrentHeaterCoolerState_Type(0)
   576  const CurrentHeaterCoolerState_Idle = CurrentHeaterCoolerState_Type(1)
   577  const CurrentHeaterCoolerState_Heating = CurrentHeaterCoolerState_Type(2)
   578  const CurrentHeaterCoolerState_Cooling = CurrentHeaterCoolerState_Type(3)
   579  
   580  var CurrentHeaterCoolerState_Meta = Metadata[uint8]{
   581  	Typ: "B1",
   582  }
   583  
   584  // CurrentHeaterCoolerState represents a Current Heater Cooler State characteristic (B1)
   585  //
   586  // UUID: 000000B1-0000-1000-8000-0026BB765291.
   587  func CurrentHeaterCoolerState(value CurrentHeaterCoolerState_Type) *Updatable[uint8] {
   588  	static := Static[uint8]{
   589  		Metadata: CurrentHeaterCoolerState_Meta,
   590  		value:    uint8(value),
   591  	}
   592  	return &Updatable[uint8]{
   593  		Static: static,
   594  	}
   595  }
   596  
   597  type CurrentHeatingCoolingState_Type uint8
   598  
   599  const CurrentHeatingCoolingState_Off = CurrentHeatingCoolingState_Type(0)
   600  const CurrentHeatingCoolingState_Heat = CurrentHeatingCoolingState_Type(1)
   601  const CurrentHeatingCoolingState_Cool = CurrentHeatingCoolingState_Type(2)
   602  
   603  var CurrentHeatingCoolingState_Meta = Metadata[uint8]{
   604  	Typ: "F",
   605  }
   606  
   607  // CurrentHeatingCoolingState represents a Current Heating Cooling State characteristic (F)
   608  //
   609  // UUID: 0000000F-0000-1000-8000-0026BB765291.
   610  func CurrentHeatingCoolingState(value CurrentHeatingCoolingState_Type) *Updatable[uint8] {
   611  	static := Static[uint8]{
   612  		Metadata: CurrentHeatingCoolingState_Meta,
   613  		value:    uint8(value),
   614  	}
   615  	return &Updatable[uint8]{
   616  		Static: static,
   617  	}
   618  }
   619  
   620  var CurrentHorizontalTiltAngle_Meta = Metadata[int32]{
   621  	Typ: "6C",
   622  	Unit: "arcdegrees",
   623  	MinValue: ValuePointer[int32](-90),
   624  	MaxValue: ValuePointer[int32](90),
   625  	MinStep: 1,
   626  }
   627  
   628  // CurrentHorizontalTiltAngle represents a Current Horizontal Tilt Angle characteristic (6C)
   629  //
   630  // UUID: 0000006C-0000-1000-8000-0026BB765291.
   631  func CurrentHorizontalTiltAngle(value int32) *Updatable[int32] {
   632  	static := Static[int32]{
   633  		Metadata: CurrentHorizontalTiltAngle_Meta,
   634  		value:    value,
   635  	}
   636  	return &Updatable[int32]{
   637  		Static: static,
   638  	}
   639  }
   640  
   641  type CurrentHumidifierDehumidifierState_Type uint8
   642  
   643  const CurrentHumidifierDehumidifierState_Inactive = CurrentHumidifierDehumidifierState_Type(0)
   644  const CurrentHumidifierDehumidifierState_Idle = CurrentHumidifierDehumidifierState_Type(1)
   645  const CurrentHumidifierDehumidifierState_Humidifying = CurrentHumidifierDehumidifierState_Type(2)
   646  const CurrentHumidifierDehumidifierState_Dehumidifying = CurrentHumidifierDehumidifierState_Type(3)
   647  
   648  var CurrentHumidifierDehumidifierState_Meta = Metadata[uint8]{
   649  	Typ: "B3",
   650  }
   651  
   652  // CurrentHumidifierDehumidifierState represents a Current Humidifier Dehumidifier State characteristic (B3)
   653  //
   654  // UUID: 000000B3-0000-1000-8000-0026BB765291.
   655  func CurrentHumidifierDehumidifierState(value CurrentHumidifierDehumidifierState_Type) *Updatable[uint8] {
   656  	static := Static[uint8]{
   657  		Metadata: CurrentHumidifierDehumidifierState_Meta,
   658  		value:    uint8(value),
   659  	}
   660  	return &Updatable[uint8]{
   661  		Static: static,
   662  	}
   663  }
   664  
   665  type CurrentMediaState_Type uint8
   666  
   667  const CurrentMediaState_Play = CurrentMediaState_Type(0)
   668  const CurrentMediaState_Pause = CurrentMediaState_Type(1)
   669  const CurrentMediaState_Stop = CurrentMediaState_Type(2)
   670  const CurrentMediaState_Unknown = CurrentMediaState_Type(3)
   671  
   672  var CurrentMediaState_Meta = Metadata[uint8]{
   673  	Typ: "E0",
   674  	Unit: "percentage",
   675  	MinValue: ValuePointer[uint8](0),
   676  	MaxValue: ValuePointer[uint8](3),
   677  	MinStep: 1,
   678  }
   679  
   680  // CurrentMediaState represents a Current Media State characteristic (E0)
   681  //
   682  // UUID: 000000E0-0000-1000-8000-0026BB765291.
   683  func CurrentMediaState(value CurrentMediaState_Type) *Updatable[uint8] {
   684  	static := Static[uint8]{
   685  		Metadata: CurrentMediaState_Meta,
   686  		value:    uint8(value),
   687  	}
   688  	return &Updatable[uint8]{
   689  		Static: static,
   690  	}
   691  }
   692  
   693  type TargetMediaState_Type uint8
   694  
   695  const TargetMediaState_Play = TargetMediaState_Type(0)
   696  const TargetMediaState_Pause = TargetMediaState_Type(1)
   697  const TargetMediaState_Stop = TargetMediaState_Type(2)
   698  
   699  var TargetMediaState_Meta = Metadata[uint8]{
   700  	Typ: "137",
   701  	MinValue: ValuePointer[uint8](0),
   702  	MaxValue: ValuePointer[uint8](2),
   703  	MinStep: 1,
   704  }
   705  
   706  // TargetMediaState represents a Target Media State characteristic (137)
   707  //
   708  // UUID: 00000137-0000-1000-8000-0026BB765291.
   709  func TargetMediaState(value TargetMediaState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
   710  	static := Static[uint8]{
   711  		Metadata: TargetMediaState_Meta,
   712  		value:    uint8(value),
   713  	}
   714  	return &Writable[uint8]{
   715  		Updatable: Updatable[uint8]{Static: static},
   716  		write: controllerWrite,
   717  	}
   718  }
   719  
   720  var CurrentPosition_Meta = Metadata[uint8]{
   721  	Typ: "6D",
   722  	Unit: "percentage",
   723  	MinValue: ValuePointer[uint8](0),
   724  	MaxValue: ValuePointer[uint8](100),
   725  	MinStep: 1,
   726  }
   727  
   728  // CurrentPosition represents a Current Position characteristic (6D)
   729  //
   730  // UUID: 0000006D-0000-1000-8000-0026BB765291.
   731  func CurrentPosition(value uint8) *Updatable[uint8] {
   732  	static := Static[uint8]{
   733  		Metadata: CurrentPosition_Meta,
   734  		value:    value,
   735  	}
   736  	return &Updatable[uint8]{
   737  		Static: static,
   738  	}
   739  }
   740  
   741  var CurrentRelativeHumidity_Meta = Metadata[float64]{
   742  	Typ: "10",
   743  	Unit: "percentage",
   744  	MinValue: ValuePointer[float64](0),
   745  	MaxValue: ValuePointer[float64](100),
   746  	MinStep: 1,
   747  }
   748  
   749  // CurrentRelativeHumidity represents a Current Relative Humidity characteristic (10)
   750  //
   751  // UUID: 00000010-0000-1000-8000-0026BB765291.
   752  func CurrentRelativeHumidity(value float64) *Updatable[float64] {
   753  	static := Static[float64]{
   754  		Metadata: CurrentRelativeHumidity_Meta,
   755  		value:    value,
   756  	}
   757  	return &Updatable[float64]{
   758  		Static: static,
   759  	}
   760  }
   761  
   762  type CurrentSlatState_Type uint8
   763  
   764  const CurrentSlatState_Fixed = CurrentSlatState_Type(0)
   765  const CurrentSlatState_Jammed = CurrentSlatState_Type(1)
   766  const CurrentSlatState_Swinging = CurrentSlatState_Type(2)
   767  
   768  var CurrentSlatState_Meta = Metadata[uint8]{
   769  	Typ: "AA",
   770  }
   771  
   772  // CurrentSlatState represents a Current Slat State characteristic (AA)
   773  //
   774  // UUID: 000000AA-0000-1000-8000-0026BB765291.
   775  func CurrentSlatState(value CurrentSlatState_Type) *Updatable[uint8] {
   776  	static := Static[uint8]{
   777  		Metadata: CurrentSlatState_Meta,
   778  		value:    uint8(value),
   779  	}
   780  	return &Updatable[uint8]{
   781  		Static: static,
   782  	}
   783  }
   784  
   785  var CurrentTemperature_Meta = Metadata[float64]{
   786  	Typ: "11",
   787  	Unit: "celsius",
   788  	MinValue: ValuePointer[float64](0),
   789  	MaxValue: ValuePointer[float64](100),
   790  	MinStep: 0.1,
   791  }
   792  
   793  // CurrentTemperature represents a Current Temperature characteristic (11)
   794  //
   795  // UUID: 00000011-0000-1000-8000-0026BB765291.
   796  func CurrentTemperature(value float64) *Updatable[float64] {
   797  	static := Static[float64]{
   798  		Metadata: CurrentTemperature_Meta,
   799  		value:    value,
   800  	}
   801  	return &Updatable[float64]{
   802  		Static: static,
   803  	}
   804  }
   805  
   806  var CurrentTiltAngle_Meta = Metadata[int32]{
   807  	Typ: "C1",
   808  	Unit: "arcdegrees",
   809  	MinValue: ValuePointer[int32](-90),
   810  	MaxValue: ValuePointer[int32](90),
   811  	MinStep: 1,
   812  }
   813  
   814  // CurrentTiltAngle represents a Current Tilt Angle characteristic (C1)
   815  //
   816  // UUID: 000000C1-0000-1000-8000-0026BB765291.
   817  func CurrentTiltAngle(value int32) *Updatable[int32] {
   818  	static := Static[int32]{
   819  		Metadata: CurrentTiltAngle_Meta,
   820  		value:    value,
   821  	}
   822  	return &Updatable[int32]{
   823  		Static: static,
   824  	}
   825  }
   826  
   827  var CurrentVerticalTiltAngle_Meta = Metadata[int32]{
   828  	Typ: "6E",
   829  	Unit: "arcdegrees",
   830  	MinValue: ValuePointer[int32](-90),
   831  	MaxValue: ValuePointer[int32](90),
   832  	MinStep: 1,
   833  }
   834  
   835  // CurrentVerticalTiltAngle represents a Current Vertical Tilt Angle characteristic (6E)
   836  //
   837  // UUID: 0000006E-0000-1000-8000-0026BB765291.
   838  func CurrentVerticalTiltAngle(value int32) *Updatable[int32] {
   839  	static := Static[int32]{
   840  		Metadata: CurrentVerticalTiltAngle_Meta,
   841  		value:    value,
   842  	}
   843  	return &Updatable[int32]{
   844  		Static: static,
   845  	}
   846  }
   847  
   848  var DigitalZoom_Meta = Metadata[float64]{
   849  	Typ: "11D",
   850  }
   851  
   852  // DigitalZoom represents a Digital Zoom characteristic (11D)
   853  //
   854  // UUID: 0000011D-0000-1000-8000-0026BB765291.
   855  func DigitalZoom(value float64, controllerWrite func(float64) error) *Writable[float64] {
   856  	static := Static[float64]{
   857  		Metadata: DigitalZoom_Meta,
   858  		value:    value,
   859  	}
   860  	return &Writable[float64]{
   861  		Updatable: Updatable[float64]{Static: static},
   862  		write: controllerWrite,
   863  	}
   864  }
   865  
   866  type FilterChangeIndication_Type uint8
   867  
   868  const FilterChangeIndication_FilterOK = FilterChangeIndication_Type(0)
   869  const FilterChangeIndication_ChangeFilter = FilterChangeIndication_Type(1)
   870  
   871  var FilterChangeIndication_Meta = Metadata[uint8]{
   872  	Typ: "AC",
   873  }
   874  
   875  // FilterChangeIndication represents a Filter Change Indication characteristic (AC)
   876  //
   877  // UUID: 000000AC-0000-1000-8000-0026BB765291.
   878  func FilterChangeIndication(value FilterChangeIndication_Type) *Updatable[uint8] {
   879  	static := Static[uint8]{
   880  		Metadata: FilterChangeIndication_Meta,
   881  		value:    uint8(value),
   882  	}
   883  	return &Updatable[uint8]{
   884  		Static: static,
   885  	}
   886  }
   887  
   888  var FilterLifeLevel_Meta = Metadata[float64]{
   889  	Typ: "AB",
   890  	MinValue: ValuePointer[float64](0),
   891  	MaxValue: ValuePointer[float64](100),
   892  	MinStep: 1,
   893  }
   894  
   895  // FilterLifeLevel represents a Filter Life Level characteristic (AB)
   896  //
   897  // UUID: 000000AB-0000-1000-8000-0026BB765291.
   898  func FilterLifeLevel(value float64) *Updatable[float64] {
   899  	static := Static[float64]{
   900  		Metadata: FilterLifeLevel_Meta,
   901  		value:    value,
   902  	}
   903  	return &Updatable[float64]{
   904  		Static: static,
   905  	}
   906  }
   907  
   908  var FirmwareRevision_Meta = Metadata[string]{
   909  	Typ: "52",
   910  }
   911  
   912  // FirmwareRevision represents a Firmware Revision characteristic (52)
   913  //
   914  // UUID: 00000052-0000-1000-8000-0026BB765291.
   915  func FirmwareRevision(value string) Static[string] {
   916  	static := Static[string]{
   917  		Metadata: FirmwareRevision_Meta,
   918  		value:    value,
   919  	}
   920  	return static
   921  }
   922  
   923  var HardwareRevision_Meta = Metadata[string]{
   924  	Typ: "53",
   925  }
   926  
   927  // HardwareRevision represents a Hardware Revision characteristic (53)
   928  //
   929  // UUID: 00000053-0000-1000-8000-0026BB765291.
   930  func HardwareRevision(value string) Static[string] {
   931  	static := Static[string]{
   932  		Metadata: HardwareRevision_Meta,
   933  		value:    value,
   934  	}
   935  	return static
   936  }
   937  
   938  var HeatingThresholdTemperature_Meta = Metadata[float64]{
   939  	Typ: "12",
   940  	Unit: "celsius",
   941  	MinValue: ValuePointer[float64](0),
   942  	MaxValue: ValuePointer[float64](25),
   943  	MinStep: 0.1,
   944  }
   945  
   946  // HeatingThresholdTemperature represents a Heating Threshold Temperature characteristic (12)
   947  //
   948  // UUID: 00000012-0000-1000-8000-0026BB765291.
   949  func HeatingThresholdTemperature(value float64, controllerWrite func(float64) error) *Writable[float64] {
   950  	static := Static[float64]{
   951  		Metadata: HeatingThresholdTemperature_Meta,
   952  		value:    value,
   953  	}
   954  	return &Writable[float64]{
   955  		Updatable: Updatable[float64]{Static: static},
   956  		write: controllerWrite,
   957  	}
   958  }
   959  
   960  var HoldPosition_Meta = Metadata[bool]{
   961  	Typ: "6F",
   962  }
   963  
   964  // HoldPosition represents a Hold Position characteristic (6F)
   965  //
   966  // UUID: 0000006F-0000-1000-8000-0026BB765291.
   967  func HoldPosition(controllerWrite func(bool) error) WriteOnly[bool] {
   968  	return WriteOnly[bool]{
   969  		Metadata: HoldPosition_Meta,
   970  		write:    controllerWrite,
   971  	}
   972  }
   973  
   974  var Hue_Meta = Metadata[float64]{
   975  	Typ: "13",
   976  	Unit: "arcdegrees",
   977  	MinValue: ValuePointer[float64](0),
   978  	MaxValue: ValuePointer[float64](360),
   979  	MinStep: 1,
   980  }
   981  
   982  // Hue represents a Hue characteristic (13)
   983  //
   984  // UUID: 00000013-0000-1000-8000-0026BB765291.
   985  func Hue(value float64, controllerWrite func(float64) error) *Writable[float64] {
   986  	static := Static[float64]{
   987  		Metadata: Hue_Meta,
   988  		value:    value,
   989  	}
   990  	return &Writable[float64]{
   991  		Updatable: Updatable[float64]{Static: static},
   992  		write: controllerWrite,
   993  	}
   994  }
   995  
   996  var Identify_Meta = Metadata[bool]{
   997  	Typ: "14",
   998  }
   999  
  1000  // Identify represents a Identify characteristic (14)
  1001  //
  1002  // UUID: 00000014-0000-1000-8000-0026BB765291.
  1003  func Identify(controllerWrite func(bool) error) WriteOnly[bool] {
  1004  	return WriteOnly[bool]{
  1005  		Metadata: Identify_Meta,
  1006  		write:    controllerWrite,
  1007  	}
  1008  }
  1009  
  1010  type InputSourceType_Type uint8
  1011  
  1012  const InputSourceType_Other = InputSourceType_Type(0)
  1013  const InputSourceType_HomeScreen = InputSourceType_Type(1)
  1014  const InputSourceType_Application = InputSourceType_Type(10)
  1015  const InputSourceType_Tuner = InputSourceType_Type(2)
  1016  const InputSourceType_Hdmi = InputSourceType_Type(3)
  1017  const InputSourceType_CompositeVideo = InputSourceType_Type(4)
  1018  const InputSourceType_SVideo = InputSourceType_Type(5)
  1019  const InputSourceType_ComponentVideo = InputSourceType_Type(6)
  1020  const InputSourceType_Dvi = InputSourceType_Type(7)
  1021  const InputSourceType_Airplay = InputSourceType_Type(8)
  1022  const InputSourceType_Usb = InputSourceType_Type(9)
  1023  
  1024  var InputSourceType_Meta = Metadata[uint8]{
  1025  	Typ: "DB",
  1026  	MinValue: ValuePointer[uint8](0),
  1027  	MaxValue: ValuePointer[uint8](10),
  1028  	MinStep: 1,
  1029  }
  1030  
  1031  // InputSourceType represents a Input Source Type characteristic (DB)
  1032  //
  1033  // UUID: 000000DB-0000-1000-8000-0026BB765291.
  1034  func InputSourceType(value InputSourceType_Type) *Updatable[uint8] {
  1035  	static := Static[uint8]{
  1036  		Metadata: InputSourceType_Meta,
  1037  		value:    uint8(value),
  1038  	}
  1039  	return &Updatable[uint8]{
  1040  		Static: static,
  1041  	}
  1042  }
  1043  
  1044  type InputDeviceType_Type uint8
  1045  
  1046  const InputDeviceType_Other = InputDeviceType_Type(0)
  1047  const InputDeviceType_Tv = InputDeviceType_Type(1)
  1048  const InputDeviceType_Recording = InputDeviceType_Type(2)
  1049  const InputDeviceType_Tuner = InputDeviceType_Type(3)
  1050  const InputDeviceType_Playback = InputDeviceType_Type(4)
  1051  const InputDeviceType_AudioSystem = InputDeviceType_Type(5)
  1052  
  1053  var InputDeviceType_Meta = Metadata[uint8]{
  1054  	Typ: "DC",
  1055  	MinValue: ValuePointer[uint8](0),
  1056  	MaxValue: ValuePointer[uint8](5),
  1057  	MinStep: 1,
  1058  }
  1059  
  1060  // InputDeviceType represents a Input Device Type characteristic (DC)
  1061  //
  1062  // UUID: 000000DC-0000-1000-8000-0026BB765291.
  1063  func InputDeviceType(value InputDeviceType_Type) *Updatable[uint8] {
  1064  	static := Static[uint8]{
  1065  		Metadata: InputDeviceType_Meta,
  1066  		value:    uint8(value),
  1067  	}
  1068  	return &Updatable[uint8]{
  1069  		Static: static,
  1070  	}
  1071  }
  1072  
  1073  var Identifier_Meta = Metadata[uint32]{
  1074  	Typ: "E6",
  1075  	MinValue: ValuePointer[uint32](0),
  1076  	MinStep: 1,
  1077  }
  1078  
  1079  // Identifier represents a Identifier characteristic (E6)
  1080  //
  1081  // UUID: 000000E6-0000-1000-8000-0026BB765291.
  1082  func Identifier(value uint32) Static[uint32] {
  1083  	static := Static[uint32]{
  1084  		Metadata: Identifier_Meta,
  1085  		value:    value,
  1086  	}
  1087  	return static
  1088  }
  1089  
  1090  type CurrentVisibilityState_Type uint8
  1091  
  1092  const CurrentVisibilityState_Shown = CurrentVisibilityState_Type(0)
  1093  const CurrentVisibilityState_Hidden = CurrentVisibilityState_Type(1)
  1094  
  1095  var CurrentVisibilityState_Meta = Metadata[uint8]{
  1096  	Typ: "135",
  1097  	MinValue: ValuePointer[uint8](0),
  1098  	MaxValue: ValuePointer[uint8](3),
  1099  	MinStep: 1,
  1100  }
  1101  
  1102  // CurrentVisibilityState represents a Current Visibility State characteristic (135)
  1103  //
  1104  // UUID: 00000135-0000-1000-8000-0026BB765291.
  1105  func CurrentVisibilityState(value CurrentVisibilityState_Type) *Updatable[uint8] {
  1106  	static := Static[uint8]{
  1107  		Metadata: CurrentVisibilityState_Meta,
  1108  		value:    uint8(value),
  1109  	}
  1110  	return &Updatable[uint8]{
  1111  		Static: static,
  1112  	}
  1113  }
  1114  
  1115  type TargetVisibilityState_Type uint8
  1116  
  1117  const TargetVisibilityState_Shown = TargetVisibilityState_Type(0)
  1118  const TargetVisibilityState_Hidden = TargetVisibilityState_Type(1)
  1119  
  1120  var TargetVisibilityState_Meta = Metadata[uint8]{
  1121  	Typ: "134",
  1122  	MinValue: ValuePointer[uint8](0),
  1123  	MaxValue: ValuePointer[uint8](2),
  1124  	MinStep: 1,
  1125  }
  1126  
  1127  // TargetVisibilityState represents a Target Visibility State characteristic (134)
  1128  //
  1129  // UUID: 00000134-0000-1000-8000-0026BB765291.
  1130  func TargetVisibilityState(value TargetVisibilityState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  1131  	static := Static[uint8]{
  1132  		Metadata: TargetVisibilityState_Meta,
  1133  		value:    uint8(value),
  1134  	}
  1135  	return &Writable[uint8]{
  1136  		Updatable: Updatable[uint8]{Static: static},
  1137  		write: controllerWrite,
  1138  	}
  1139  }
  1140  
  1141  var ImageMirroring_Meta = Metadata[bool]{
  1142  	Typ: "11F",
  1143  }
  1144  
  1145  // ImageMirroring represents a Image Mirroring characteristic (11F)
  1146  //
  1147  // UUID: 0000011F-0000-1000-8000-0026BB765291.
  1148  func ImageMirroring(value bool, controllerWrite func(bool) error) *Writable[bool] {
  1149  	static := Static[bool]{
  1150  		Metadata: ImageMirroring_Meta,
  1151  		value:    value,
  1152  	}
  1153  	return &Writable[bool]{
  1154  		Updatable: Updatable[bool]{Static: static},
  1155  		write: controllerWrite,
  1156  	}
  1157  }
  1158  
  1159  var ImageRotation_Meta = Metadata[float64]{
  1160  	Typ: "11E",
  1161  	Unit: "arcdegrees",
  1162  	MinValue: ValuePointer[float64](0),
  1163  	MaxValue: ValuePointer[float64](270),
  1164  	MinStep: 90,
  1165  }
  1166  
  1167  // ImageRotation represents a Image Rotation characteristic (11E)
  1168  //
  1169  // UUID: 0000011E-0000-1000-8000-0026BB765291.
  1170  func ImageRotation(value float64, controllerWrite func(float64) error) *Writable[float64] {
  1171  	static := Static[float64]{
  1172  		Metadata: ImageRotation_Meta,
  1173  		value:    value,
  1174  	}
  1175  	return &Writable[float64]{
  1176  		Updatable: Updatable[float64]{Static: static},
  1177  		write: controllerWrite,
  1178  	}
  1179  }
  1180  
  1181  type InUse_Type uint8
  1182  
  1183  const InUse_NotInUse = InUse_Type(0)
  1184  const InUse_InUse = InUse_Type(1)
  1185  
  1186  var InUse_Meta = Metadata[uint8]{
  1187  	Typ: "D2",
  1188  }
  1189  
  1190  // InUse represents a In Use characteristic (D2)
  1191  //
  1192  // UUID: 000000D2-0000-1000-8000-0026BB765291.
  1193  func InUse(value InUse_Type) *Updatable[uint8] {
  1194  	static := Static[uint8]{
  1195  		Metadata: InUse_Meta,
  1196  		value:    uint8(value),
  1197  	}
  1198  	return &Updatable[uint8]{
  1199  		Static: static,
  1200  	}
  1201  }
  1202  
  1203  type IsConfigured_Type uint8
  1204  
  1205  const IsConfigured_NotConfigured = IsConfigured_Type(0)
  1206  const IsConfigured_Configured = IsConfigured_Type(1)
  1207  
  1208  var IsConfigured_Meta = Metadata[uint8]{
  1209  	Typ: "D6",
  1210  }
  1211  
  1212  // IsConfigured represents a Is Configured characteristic (D6)
  1213  //
  1214  // UUID: 000000D6-0000-1000-8000-0026BB765291.
  1215  func IsConfigured(value IsConfigured_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  1216  	static := Static[uint8]{
  1217  		Metadata: IsConfigured_Meta,
  1218  		value:    uint8(value),
  1219  	}
  1220  	return &Writable[uint8]{
  1221  		Updatable: Updatable[uint8]{Static: static},
  1222  		write: controllerWrite,
  1223  	}
  1224  }
  1225  
  1226  type LeakDetected_Type uint8
  1227  
  1228  const LeakDetected_LeakNotDetected = LeakDetected_Type(0)
  1229  const LeakDetected_LeakDetected = LeakDetected_Type(1)
  1230  
  1231  var LeakDetected_Meta = Metadata[uint8]{
  1232  	Typ: "70",
  1233  }
  1234  
  1235  // LeakDetected represents a Leak Detected characteristic (70)
  1236  //
  1237  // UUID: 00000070-0000-1000-8000-0026BB765291.
  1238  func LeakDetected(value LeakDetected_Type) *Updatable[uint8] {
  1239  	static := Static[uint8]{
  1240  		Metadata: LeakDetected_Meta,
  1241  		value:    uint8(value),
  1242  	}
  1243  	return &Updatable[uint8]{
  1244  		Static: static,
  1245  	}
  1246  }
  1247  
  1248  
  1249  // LockControlPoint represents a Lock Control Point characteristic (19)
  1250  //
  1251  // UUID: 00000019-0000-1000-8000-0026BB765291.
  1252  func LockControlPoint(controllerWrite func(LockControlPointRequest) error) WriteOnlyTLV8[LockControlPointRequest] {
  1253  	return WriteOnlyTLV8[LockControlPointRequest]{
  1254  		StaticTLV8: StaticTLV8[struct{}]{Typ: "19"},
  1255  		write: controllerWrite,
  1256  	}
  1257  }
  1258  
  1259  type LockCurrentState_Type uint8
  1260  
  1261  const LockCurrentState_Unsecured = LockCurrentState_Type(0)
  1262  const LockCurrentState_Secured = LockCurrentState_Type(1)
  1263  const LockCurrentState_Jammed = LockCurrentState_Type(2)
  1264  const LockCurrentState_Unknown = LockCurrentState_Type(3)
  1265  
  1266  var LockCurrentState_Meta = Metadata[uint8]{
  1267  	Typ: "1D",
  1268  }
  1269  
  1270  // LockCurrentState represents a Lock Current State characteristic (1D)
  1271  //
  1272  // UUID: 0000001D-0000-1000-8000-0026BB765291.
  1273  func LockCurrentState(value LockCurrentState_Type) *Updatable[uint8] {
  1274  	static := Static[uint8]{
  1275  		Metadata: LockCurrentState_Meta,
  1276  		value:    uint8(value),
  1277  	}
  1278  	return &Updatable[uint8]{
  1279  		Static: static,
  1280  	}
  1281  }
  1282  
  1283  type LockLastKnownAction_Type uint8
  1284  
  1285  const LockLastKnownAction_SecuredPhysicallyInterior = LockLastKnownAction_Type(0)
  1286  const LockLastKnownAction_UnsecuredPhysicallyInterior = LockLastKnownAction_Type(1)
  1287  const LockLastKnownAction_SecuredPhysicallyExterior = LockLastKnownAction_Type(2)
  1288  const LockLastKnownAction_UnsecuredPhysicallyExterior = LockLastKnownAction_Type(3)
  1289  const LockLastKnownAction_SecuredByKeypad = LockLastKnownAction_Type(4)
  1290  const LockLastKnownAction_UnsecuredByKeypad = LockLastKnownAction_Type(5)
  1291  const LockLastKnownAction_SecuredRemotely = LockLastKnownAction_Type(6)
  1292  const LockLastKnownAction_UnsecuredRemotely = LockLastKnownAction_Type(7)
  1293  const LockLastKnownAction_SecuredByAutoSecureTimeout = LockLastKnownAction_Type(8)
  1294  
  1295  var LockLastKnownAction_Meta = Metadata[uint8]{
  1296  	Typ: "1C",
  1297  }
  1298  
  1299  // LockLastKnownAction represents a Lock Last Known Action characteristic (1C)
  1300  //
  1301  // UUID: 0000001C-0000-1000-8000-0026BB765291.
  1302  func LockLastKnownAction(value LockLastKnownAction_Type) *Updatable[uint8] {
  1303  	static := Static[uint8]{
  1304  		Metadata: LockLastKnownAction_Meta,
  1305  		value:    uint8(value),
  1306  	}
  1307  	return &Updatable[uint8]{
  1308  		Static: static,
  1309  	}
  1310  }
  1311  
  1312  var LockManagementAutoSecurityTimeout_Meta = Metadata[uint32]{
  1313  	Typ: "1A",
  1314  	Unit: "seconds",
  1315  }
  1316  
  1317  // LockManagementAutoSecurityTimeout represents a Lock Management Auto Security Timeout characteristic (1A)
  1318  //
  1319  // UUID: 0000001A-0000-1000-8000-0026BB765291.
  1320  func LockManagementAutoSecurityTimeout(value uint32, controllerWrite func(uint32) error) *Writable[uint32] {
  1321  	static := Static[uint32]{
  1322  		Metadata: LockManagementAutoSecurityTimeout_Meta,
  1323  		value:    value,
  1324  	}
  1325  	return &Writable[uint32]{
  1326  		Updatable: Updatable[uint32]{Static: static},
  1327  		write: controllerWrite,
  1328  	}
  1329  }
  1330  
  1331  type LockPhysicalControls_Type uint8
  1332  
  1333  const LockPhysicalControls_ControlLockDisabled = LockPhysicalControls_Type(0)
  1334  const LockPhysicalControls_ControlLockEnabled = LockPhysicalControls_Type(1)
  1335  
  1336  var LockPhysicalControls_Meta = Metadata[uint8]{
  1337  	Typ: "A7",
  1338  }
  1339  
  1340  // LockPhysicalControls represents a Lock Physical Controls characteristic (A7)
  1341  //
  1342  // UUID: 000000A7-0000-1000-8000-0026BB765291.
  1343  func LockPhysicalControls(value LockPhysicalControls_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  1344  	static := Static[uint8]{
  1345  		Metadata: LockPhysicalControls_Meta,
  1346  		value:    uint8(value),
  1347  	}
  1348  	return &Writable[uint8]{
  1349  		Updatable: Updatable[uint8]{Static: static},
  1350  		write: controllerWrite,
  1351  	}
  1352  }
  1353  
  1354  type LockTargetState_Type uint8
  1355  
  1356  const LockTargetState_Unsecured = LockTargetState_Type(0)
  1357  const LockTargetState_Secured = LockTargetState_Type(1)
  1358  
  1359  var LockTargetState_Meta = Metadata[uint8]{
  1360  	Typ: "1E",
  1361  }
  1362  
  1363  // LockTargetState represents a Lock Target State characteristic (1E)
  1364  //
  1365  // UUID: 0000001E-0000-1000-8000-0026BB765291.
  1366  func LockTargetState(value LockTargetState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  1367  	static := Static[uint8]{
  1368  		Metadata: LockTargetState_Meta,
  1369  		value:    uint8(value),
  1370  	}
  1371  	return &Writable[uint8]{
  1372  		Updatable: Updatable[uint8]{Static: static},
  1373  		write: controllerWrite,
  1374  	}
  1375  }
  1376  
  1377  
  1378  // Logs represents a Logs characteristic (1F)
  1379  //
  1380  // UUID: 0000001F-0000-1000-8000-0026BB765291.
  1381  func Logs(value LogsResponse) *UpdatableTLV8[LogsResponse] {
  1382  	static := StaticTLV8[LogsResponse]{
  1383  		Typ:   "1F",
  1384  		value: value,
  1385  	}
  1386  	return &UpdatableTLV8[LogsResponse]{
  1387  		StaticTLV8: static,
  1388  	}
  1389  }
  1390  
  1391  var Manufacturer_Meta = Metadata[string]{
  1392  	Typ: "20",
  1393  }
  1394  
  1395  // Manufacturer represents a Manufacturer characteristic (20)
  1396  //
  1397  // UUID: 00000020-0000-1000-8000-0026BB765291.
  1398  func Manufacturer(value string) Static[string] {
  1399  	static := Static[string]{
  1400  		Metadata: Manufacturer_Meta,
  1401  		value:    value,
  1402  	}
  1403  	return static
  1404  }
  1405  
  1406  var Model_Meta = Metadata[string]{
  1407  	Typ: "21",
  1408  }
  1409  
  1410  // Model represents a Model characteristic (21)
  1411  //
  1412  // UUID: 00000021-0000-1000-8000-0026BB765291.
  1413  func Model(value string) Static[string] {
  1414  	static := Static[string]{
  1415  		Metadata: Model_Meta,
  1416  		value:    value,
  1417  	}
  1418  	return static
  1419  }
  1420  
  1421  var MotionDetected_Meta = Metadata[bool]{
  1422  	Typ: "22",
  1423  }
  1424  
  1425  // MotionDetected represents a Motion Detected characteristic (22)
  1426  //
  1427  // UUID: 00000022-0000-1000-8000-0026BB765291.
  1428  func MotionDetected(value bool) *Updatable[bool] {
  1429  	static := Static[bool]{
  1430  		Metadata: MotionDetected_Meta,
  1431  		value:    value,
  1432  	}
  1433  	return &Updatable[bool]{
  1434  		Static: static,
  1435  	}
  1436  }
  1437  
  1438  var Mute_Meta = Metadata[bool]{
  1439  	Typ: "11A",
  1440  }
  1441  
  1442  // Mute represents a Mute characteristic (11A)
  1443  //
  1444  // UUID: 0000011A-0000-1000-8000-0026BB765291.
  1445  func Mute(value bool, controllerWrite func(bool) error) *Writable[bool] {
  1446  	static := Static[bool]{
  1447  		Metadata: Mute_Meta,
  1448  		value:    value,
  1449  	}
  1450  	return &Writable[bool]{
  1451  		Updatable: Updatable[bool]{Static: static},
  1452  		write: controllerWrite,
  1453  	}
  1454  }
  1455  
  1456  var Name_Meta = Metadata[string]{
  1457  	Typ: "23",
  1458  }
  1459  
  1460  // Name represents a Name characteristic (23)
  1461  //
  1462  // UUID: 00000023-0000-1000-8000-0026BB765291.
  1463  func Name(value string) Static[string] {
  1464  	static := Static[string]{
  1465  		Metadata: Name_Meta,
  1466  		value:    value,
  1467  	}
  1468  	return static
  1469  }
  1470  
  1471  var NightVision_Meta = Metadata[bool]{
  1472  	Typ: "11B",
  1473  }
  1474  
  1475  // NightVision represents a Night Vision characteristic (11B)
  1476  //
  1477  // UUID: 0000011B-0000-1000-8000-0026BB765291.
  1478  func NightVision(value bool, controllerWrite func(bool) error) *Writable[bool] {
  1479  	static := Static[bool]{
  1480  		Metadata: NightVision_Meta,
  1481  		value:    value,
  1482  	}
  1483  	return &Writable[bool]{
  1484  		Updatable: Updatable[bool]{Static: static},
  1485  		write: controllerWrite,
  1486  	}
  1487  }
  1488  
  1489  var NitrogenDioxideDensity_Meta = Metadata[float64]{
  1490  	Typ: "C4",
  1491  	MinValue: ValuePointer[float64](0),
  1492  	MaxValue: ValuePointer[float64](1000),
  1493  	MinStep: 1,
  1494  }
  1495  
  1496  // NitrogenDioxideDensity represents a Nitrogen Dioxide Density characteristic (C4)
  1497  //
  1498  // UUID: 000000C4-0000-1000-8000-0026BB765291.
  1499  func NitrogenDioxideDensity(value float64) *Updatable[float64] {
  1500  	static := Static[float64]{
  1501  		Metadata: NitrogenDioxideDensity_Meta,
  1502  		value:    value,
  1503  	}
  1504  	return &Updatable[float64]{
  1505  		Static: static,
  1506  	}
  1507  }
  1508  
  1509  var ObstructionDetected_Meta = Metadata[bool]{
  1510  	Typ: "24",
  1511  }
  1512  
  1513  // ObstructionDetected represents a Obstruction Detected characteristic (24)
  1514  //
  1515  // UUID: 00000024-0000-1000-8000-0026BB765291.
  1516  func ObstructionDetected(value bool) *Updatable[bool] {
  1517  	static := Static[bool]{
  1518  		Metadata: ObstructionDetected_Meta,
  1519  		value:    value,
  1520  	}
  1521  	return &Updatable[bool]{
  1522  		Static: static,
  1523  	}
  1524  }
  1525  
  1526  type OccupancyDetected_Type uint8
  1527  
  1528  const OccupancyDetected_OccupancyNotDetected = OccupancyDetected_Type(0)
  1529  const OccupancyDetected_OccupancyDetected = OccupancyDetected_Type(1)
  1530  
  1531  var OccupancyDetected_Meta = Metadata[uint8]{
  1532  	Typ: "71",
  1533  }
  1534  
  1535  // OccupancyDetected represents a Occupancy Detected characteristic (71)
  1536  //
  1537  // UUID: 00000071-0000-1000-8000-0026BB765291.
  1538  func OccupancyDetected(value OccupancyDetected_Type) *Updatable[uint8] {
  1539  	static := Static[uint8]{
  1540  		Metadata: OccupancyDetected_Meta,
  1541  		value:    uint8(value),
  1542  	}
  1543  	return &Updatable[uint8]{
  1544  		Static: static,
  1545  	}
  1546  }
  1547  
  1548  var On_Meta = Metadata[bool]{
  1549  	Typ: "25",
  1550  }
  1551  
  1552  // On represents a On characteristic (25)
  1553  //
  1554  // UUID: 00000025-0000-1000-8000-0026BB765291.
  1555  func On(value bool, controllerWrite func(bool) error) *Writable[bool] {
  1556  	static := Static[bool]{
  1557  		Metadata: On_Meta,
  1558  		value:    value,
  1559  	}
  1560  	return &Writable[bool]{
  1561  		Updatable: Updatable[bool]{Static: static},
  1562  		write: controllerWrite,
  1563  	}
  1564  }
  1565  
  1566  var OpticalZoom_Meta = Metadata[float64]{
  1567  	Typ: "11C",
  1568  }
  1569  
  1570  // OpticalZoom represents a Optical Zoom characteristic (11C)
  1571  //
  1572  // UUID: 0000011C-0000-1000-8000-0026BB765291.
  1573  func OpticalZoom(value float64, controllerWrite func(float64) error) *Writable[float64] {
  1574  	static := Static[float64]{
  1575  		Metadata: OpticalZoom_Meta,
  1576  		value:    value,
  1577  	}
  1578  	return &Writable[float64]{
  1579  		Updatable: Updatable[float64]{Static: static},
  1580  		write: controllerWrite,
  1581  	}
  1582  }
  1583  
  1584  var OutletInUse_Meta = Metadata[bool]{
  1585  	Typ: "26",
  1586  }
  1587  
  1588  // OutletInUse represents a Outlet In Use characteristic (26)
  1589  //
  1590  // UUID: 00000026-0000-1000-8000-0026BB765291.
  1591  func OutletInUse(value bool) *Updatable[bool] {
  1592  	static := Static[bool]{
  1593  		Metadata: OutletInUse_Meta,
  1594  		value:    value,
  1595  	}
  1596  	return &Updatable[bool]{
  1597  		Static: static,
  1598  	}
  1599  }
  1600  
  1601  var OzoneDensity_Meta = Metadata[float64]{
  1602  	Typ: "C3",
  1603  	MinValue: ValuePointer[float64](0),
  1604  	MaxValue: ValuePointer[float64](1000),
  1605  	MinStep: 1,
  1606  }
  1607  
  1608  // OzoneDensity represents a Ozone Density characteristic (C3)
  1609  //
  1610  // UUID: 000000C3-0000-1000-8000-0026BB765291.
  1611  func OzoneDensity(value float64) *Updatable[float64] {
  1612  	static := Static[float64]{
  1613  		Metadata: OzoneDensity_Meta,
  1614  		value:    value,
  1615  	}
  1616  	return &Updatable[float64]{
  1617  		Static: static,
  1618  	}
  1619  }
  1620  
  1621  
  1622  // PairSetup represents a Pair Setup characteristic (4C)
  1623  //
  1624  // UUID: 0000004C-0000-1000-8000-0026BB765291.
  1625  func PairSetup(value PairSetupResponse, controllerWrite func(PairSetupRequest) (PairSetupResponse, error)) *WritableTLV8[PairSetupRequest, PairSetupResponse] {
  1626  	static := StaticTLV8[PairSetupResponse]{
  1627  		Typ:   "4C",
  1628  		value: value,
  1629  	}
  1630  	return &WritableTLV8[PairSetupRequest, PairSetupResponse]{
  1631  		UpdatableTLV8: UpdatableTLV8[PairSetupResponse]{StaticTLV8: static},
  1632  		write: controllerWrite,
  1633  	}
  1634  }
  1635  
  1636  
  1637  // PairVerify represents a Pair Verify characteristic (4E)
  1638  //
  1639  // UUID: 0000004E-0000-1000-8000-0026BB765291.
  1640  func PairVerify(value PairVerifyResponse, controllerWrite func(PairVerifyRequest) (PairVerifyResponse, error)) *WritableTLV8[PairVerifyRequest, PairVerifyResponse] {
  1641  	static := StaticTLV8[PairVerifyResponse]{
  1642  		Typ:   "4E",
  1643  		value: value,
  1644  	}
  1645  	return &WritableTLV8[PairVerifyRequest, PairVerifyResponse]{
  1646  		UpdatableTLV8: UpdatableTLV8[PairVerifyResponse]{StaticTLV8: static},
  1647  		write: controllerWrite,
  1648  	}
  1649  }
  1650  
  1651  var PairingFeatures_Meta = Metadata[uint8]{
  1652  	Typ: "4F",
  1653  }
  1654  
  1655  // PairingFeatures represents a Pairing Features characteristic (4F)
  1656  //
  1657  // UUID: 0000004F-0000-1000-8000-0026BB765291.
  1658  func PairingFeatures(value uint8) Static[uint8] {
  1659  	static := Static[uint8]{
  1660  		Metadata: PairingFeatures_Meta,
  1661  		value:    value,
  1662  	}
  1663  	return static
  1664  }
  1665  
  1666  
  1667  // PairingPairings represents a Pairing Pairings characteristic (50)
  1668  //
  1669  // UUID: 00000050-0000-1000-8000-0026BB765291.
  1670  func PairingPairings(value PairingPairingsResponse, controllerWrite func(PairingPairingsRequest) (PairingPairingsResponse, error)) *WritableTLV8[PairingPairingsRequest, PairingPairingsResponse] {
  1671  	static := StaticTLV8[PairingPairingsResponse]{
  1672  		Typ:   "50",
  1673  		value: value,
  1674  	}
  1675  	return &WritableTLV8[PairingPairingsRequest, PairingPairingsResponse]{
  1676  		UpdatableTLV8: UpdatableTLV8[PairingPairingsResponse]{StaticTLV8: static},
  1677  		write: controllerWrite,
  1678  	}
  1679  }
  1680  
  1681  var PM10Density_Meta = Metadata[float64]{
  1682  	Typ: "C7",
  1683  	MinValue: ValuePointer[float64](0),
  1684  	MaxValue: ValuePointer[float64](1000),
  1685  	MinStep: 1,
  1686  }
  1687  
  1688  // PM10Density represents a PM10 Density characteristic (C7)
  1689  //
  1690  // UUID: 000000C7-0000-1000-8000-0026BB765291.
  1691  func PM10Density(value float64) *Updatable[float64] {
  1692  	static := Static[float64]{
  1693  		Metadata: PM10Density_Meta,
  1694  		value:    value,
  1695  	}
  1696  	return &Updatable[float64]{
  1697  		Static: static,
  1698  	}
  1699  }
  1700  
  1701  var PM25Density_Meta = Metadata[float64]{
  1702  	Typ: "C6",
  1703  	MinValue: ValuePointer[float64](0),
  1704  	MaxValue: ValuePointer[float64](1000),
  1705  	MinStep: 1,
  1706  }
  1707  
  1708  // PM25Density represents a PM2.5 Density characteristic (C6)
  1709  //
  1710  // UUID: 000000C6-0000-1000-8000-0026BB765291.
  1711  func PM25Density(value float64) *Updatable[float64] {
  1712  	static := Static[float64]{
  1713  		Metadata: PM25Density_Meta,
  1714  		value:    value,
  1715  	}
  1716  	return &Updatable[float64]{
  1717  		Static: static,
  1718  	}
  1719  }
  1720  
  1721  type PositionState_Type uint8
  1722  
  1723  const PositionState_Decreasing = PositionState_Type(0)
  1724  const PositionState_Increasing = PositionState_Type(1)
  1725  const PositionState_Stopped = PositionState_Type(2)
  1726  
  1727  var PositionState_Meta = Metadata[uint8]{
  1728  	Typ: "72",
  1729  }
  1730  
  1731  // PositionState represents a Position State characteristic (72)
  1732  //
  1733  // UUID: 00000072-0000-1000-8000-0026BB765291.
  1734  func PositionState(value PositionState_Type) *Updatable[uint8] {
  1735  	static := Static[uint8]{
  1736  		Metadata: PositionState_Meta,
  1737  		value:    uint8(value),
  1738  	}
  1739  	return &Updatable[uint8]{
  1740  		Static: static,
  1741  	}
  1742  }
  1743  
  1744  type PictureMode_Type uint16
  1745  
  1746  const PictureMode_Other = PictureMode_Type(0)
  1747  const PictureMode_Standard = PictureMode_Type(1)
  1748  const PictureMode_Calibrated = PictureMode_Type(2)
  1749  const PictureMode_CalibratedDark = PictureMode_Type(3)
  1750  const PictureMode_Vivid = PictureMode_Type(4)
  1751  const PictureMode_Game = PictureMode_Type(5)
  1752  const PictureMode_Computer = PictureMode_Type(6)
  1753  const PictureMode_Custom = PictureMode_Type(7)
  1754  
  1755  var PictureMode_Meta = Metadata[uint16]{
  1756  	Typ: "E2",
  1757  	MinValue: ValuePointer[uint16](0),
  1758  	MaxValue: ValuePointer[uint16](13),
  1759  	MinStep: 1,
  1760  }
  1761  
  1762  // PictureMode represents a Picture Mode characteristic (E2)
  1763  //
  1764  // UUID: 000000E2-0000-1000-8000-0026BB765291.
  1765  func PictureMode(value PictureMode_Type, controllerWrite func(uint16) error) *Writable[uint16] {
  1766  	static := Static[uint16]{
  1767  		Metadata: PictureMode_Meta,
  1768  		value:    uint16(value),
  1769  	}
  1770  	return &Writable[uint16]{
  1771  		Updatable: Updatable[uint16]{Static: static},
  1772  		write: controllerWrite,
  1773  	}
  1774  }
  1775  
  1776  type PowerModeSelection_Type uint8
  1777  
  1778  const PowerModeSelection_Show = PowerModeSelection_Type(0)
  1779  const PowerModeSelection_Hide = PowerModeSelection_Type(1)
  1780  
  1781  var PowerModeSelection_Meta = Metadata[uint8]{
  1782  	Typ: "DF",
  1783  	MinValue: ValuePointer[uint8](0),
  1784  	MaxValue: ValuePointer[uint8](1),
  1785  	MinStep: 1,
  1786  }
  1787  
  1788  // PowerModeSelection represents a Power Mode Selection characteristic (DF)
  1789  //
  1790  // UUID: 000000DF-0000-1000-8000-0026BB765291.
  1791  func PowerModeSelection(controllerWrite func(uint8) error) WriteOnly[uint8] {
  1792  	return WriteOnly[uint8]{
  1793  		Metadata: PowerModeSelection_Meta,
  1794  		write:    controllerWrite,
  1795  	}
  1796  }
  1797  
  1798  type ProgramMode_Type uint8
  1799  
  1800  const ProgramMode_NoProgramScheduled = ProgramMode_Type(0)
  1801  const ProgramMode_ProgramScheduled = ProgramMode_Type(1)
  1802  const ProgramMode_ProgramScheduledManualMode = ProgramMode_Type(2)
  1803  
  1804  var ProgramMode_Meta = Metadata[uint8]{
  1805  	Typ: "D1",
  1806  }
  1807  
  1808  // ProgramMode represents a Program Mode characteristic (D1)
  1809  //
  1810  // UUID: 000000D1-0000-1000-8000-0026BB765291.
  1811  func ProgramMode(value ProgramMode_Type) *Updatable[uint8] {
  1812  	static := Static[uint8]{
  1813  		Metadata: ProgramMode_Meta,
  1814  		value:    uint8(value),
  1815  	}
  1816  	return &Updatable[uint8]{
  1817  		Static: static,
  1818  	}
  1819  }
  1820  
  1821  type ProgrammableSwitchEvent_Type uint8
  1822  
  1823  const ProgrammableSwitchEvent_SinglePress = ProgrammableSwitchEvent_Type(0)
  1824  const ProgrammableSwitchEvent_DoublePress = ProgrammableSwitchEvent_Type(1)
  1825  const ProgrammableSwitchEvent_LongPress = ProgrammableSwitchEvent_Type(2)
  1826  
  1827  var ProgrammableSwitchEvent_Meta = Metadata[uint8]{
  1828  	Typ: "73",
  1829  }
  1830  
  1831  // ProgrammableSwitchEvent represents a Programmable Switch Event characteristic (73)
  1832  //
  1833  // UUID: 00000073-0000-1000-8000-0026BB765291.
  1834  func ProgrammableSwitchEvent(value ProgrammableSwitchEvent_Type) *Updatable[uint8] {
  1835  	static := Static[uint8]{
  1836  		Metadata: ProgrammableSwitchEvent_Meta,
  1837  		value:    uint8(value),
  1838  	}
  1839  	return &Updatable[uint8]{
  1840  		Static: static,
  1841  	}
  1842  }
  1843  
  1844  type RemoteKey_Type uint8
  1845  
  1846  const RemoteKey_Rewind = RemoteKey_Type(0)
  1847  const RemoteKey_FastForward = RemoteKey_Type(1)
  1848  const RemoteKey_Exit = RemoteKey_Type(10)
  1849  const RemoteKey_PlayPause = RemoteKey_Type(11)
  1850  const RemoteKey_Info = RemoteKey_Type(15)
  1851  const RemoteKey_NextTrack = RemoteKey_Type(2)
  1852  const RemoteKey_PrevTrack = RemoteKey_Type(3)
  1853  const RemoteKey_ArrowUp = RemoteKey_Type(4)
  1854  const RemoteKey_ArrowDown = RemoteKey_Type(5)
  1855  const RemoteKey_ArrowLeft = RemoteKey_Type(6)
  1856  const RemoteKey_ArrowRight = RemoteKey_Type(7)
  1857  const RemoteKey_Select = RemoteKey_Type(8)
  1858  const RemoteKey_Back = RemoteKey_Type(9)
  1859  
  1860  var RemoteKey_Meta = Metadata[uint8]{
  1861  	Typ: "E1",
  1862  	MinValue: ValuePointer[uint8](0),
  1863  	MaxValue: ValuePointer[uint8](16),
  1864  	MinStep: 1,
  1865  }
  1866  
  1867  // RemoteKey represents a Remote Key characteristic (E1)
  1868  //
  1869  // UUID: 000000E1-0000-1000-8000-0026BB765291.
  1870  func RemoteKey(controllerWrite func(uint8) error) WriteOnly[uint8] {
  1871  	return WriteOnly[uint8]{
  1872  		Metadata: RemoteKey_Meta,
  1873  		write:    controllerWrite,
  1874  	}
  1875  }
  1876  
  1877  var RelativeHumidityDehumidifierThreshold_Meta = Metadata[float64]{
  1878  	Typ: "C9",
  1879  	Unit: "percentage",
  1880  	MinValue: ValuePointer[float64](0),
  1881  	MaxValue: ValuePointer[float64](100),
  1882  	MinStep: 1,
  1883  }
  1884  
  1885  // RelativeHumidityDehumidifierThreshold represents a Relative Humidity Dehumidifier Threshold characteristic (C9)
  1886  //
  1887  // UUID: 000000C9-0000-1000-8000-0026BB765291.
  1888  func RelativeHumidityDehumidifierThreshold(value float64, controllerWrite func(float64) error) *Writable[float64] {
  1889  	static := Static[float64]{
  1890  		Metadata: RelativeHumidityDehumidifierThreshold_Meta,
  1891  		value:    value,
  1892  	}
  1893  	return &Writable[float64]{
  1894  		Updatable: Updatable[float64]{Static: static},
  1895  		write: controllerWrite,
  1896  	}
  1897  }
  1898  
  1899  var RelativeHumidityHumidifierThreshold_Meta = Metadata[float64]{
  1900  	Typ: "CA",
  1901  	Unit: "percentage",
  1902  	MinValue: ValuePointer[float64](0),
  1903  	MaxValue: ValuePointer[float64](100),
  1904  	MinStep: 1,
  1905  }
  1906  
  1907  // RelativeHumidityHumidifierThreshold represents a Relative Humidity Humidifier Threshold characteristic (CA)
  1908  //
  1909  // UUID: 000000CA-0000-1000-8000-0026BB765291.
  1910  func RelativeHumidityHumidifierThreshold(value float64, controllerWrite func(float64) error) *Writable[float64] {
  1911  	static := Static[float64]{
  1912  		Metadata: RelativeHumidityHumidifierThreshold_Meta,
  1913  		value:    value,
  1914  	}
  1915  	return &Writable[float64]{
  1916  		Updatable: Updatable[float64]{Static: static},
  1917  		write: controllerWrite,
  1918  	}
  1919  }
  1920  
  1921  var RemainingDuration_Meta = Metadata[uint32]{
  1922  	Typ: "D4",
  1923  	MinValue: ValuePointer[uint32](0),
  1924  	MaxValue: ValuePointer[uint32](3600),
  1925  	MinStep: 1,
  1926  }
  1927  
  1928  // RemainingDuration represents a Remaining Duration characteristic (D4)
  1929  //
  1930  // UUID: 000000D4-0000-1000-8000-0026BB765291.
  1931  func RemainingDuration(value uint32) *Updatable[uint32] {
  1932  	static := Static[uint32]{
  1933  		Metadata: RemainingDuration_Meta,
  1934  		value:    value,
  1935  	}
  1936  	return &Updatable[uint32]{
  1937  		Static: static,
  1938  	}
  1939  }
  1940  
  1941  var ResetFilterIndication_Meta = Metadata[uint8]{
  1942  	Typ: "AD",
  1943  	MinValue: ValuePointer[uint8](1),
  1944  	MaxValue: ValuePointer[uint8](1),
  1945  	MinStep: 1,
  1946  }
  1947  
  1948  // ResetFilterIndication represents a Reset Filter Indication characteristic (AD)
  1949  //
  1950  // UUID: 000000AD-0000-1000-8000-0026BB765291.
  1951  func ResetFilterIndication(controllerWrite func(uint8) error) WriteOnly[uint8] {
  1952  	return WriteOnly[uint8]{
  1953  		Metadata: ResetFilterIndication_Meta,
  1954  		write:    controllerWrite,
  1955  	}
  1956  }
  1957  
  1958  type RotationDirection_Type int32
  1959  
  1960  const RotationDirection_Clockwise = RotationDirection_Type(0)
  1961  const RotationDirection_Counterclockwise = RotationDirection_Type(1)
  1962  
  1963  var RotationDirection_Meta = Metadata[int32]{
  1964  	Typ: "28",
  1965  }
  1966  
  1967  // RotationDirection represents a Rotation Direction characteristic (28)
  1968  //
  1969  // UUID: 00000028-0000-1000-8000-0026BB765291.
  1970  func RotationDirection(value RotationDirection_Type, controllerWrite func(int32) error) *Writable[int32] {
  1971  	static := Static[int32]{
  1972  		Metadata: RotationDirection_Meta,
  1973  		value:    int32(value),
  1974  	}
  1975  	return &Writable[int32]{
  1976  		Updatable: Updatable[int32]{Static: static},
  1977  		write: controllerWrite,
  1978  	}
  1979  }
  1980  
  1981  var RotationSpeed_Meta = Metadata[float64]{
  1982  	Typ: "29",
  1983  	Unit: "percentage",
  1984  	MinValue: ValuePointer[float64](0),
  1985  	MaxValue: ValuePointer[float64](100),
  1986  	MinStep: 1,
  1987  }
  1988  
  1989  // RotationSpeed represents a Rotation Speed characteristic (29)
  1990  //
  1991  // UUID: 00000029-0000-1000-8000-0026BB765291.
  1992  func RotationSpeed(value float64, controllerWrite func(float64) error) *Writable[float64] {
  1993  	static := Static[float64]{
  1994  		Metadata: RotationSpeed_Meta,
  1995  		value:    value,
  1996  	}
  1997  	return &Writable[float64]{
  1998  		Updatable: Updatable[float64]{Static: static},
  1999  		write: controllerWrite,
  2000  	}
  2001  }
  2002  
  2003  var Saturation_Meta = Metadata[float64]{
  2004  	Typ: "2F",
  2005  	Unit: "percentage",
  2006  	MinValue: ValuePointer[float64](0),
  2007  	MaxValue: ValuePointer[float64](100),
  2008  	MinStep: 1,
  2009  }
  2010  
  2011  // Saturation represents a Saturation characteristic (2F)
  2012  //
  2013  // UUID: 0000002F-0000-1000-8000-0026BB765291.
  2014  func Saturation(value float64, controllerWrite func(float64) error) *Writable[float64] {
  2015  	static := Static[float64]{
  2016  		Metadata: Saturation_Meta,
  2017  		value:    value,
  2018  	}
  2019  	return &Writable[float64]{
  2020  		Updatable: Updatable[float64]{Static: static},
  2021  		write: controllerWrite,
  2022  	}
  2023  }
  2024  
  2025  var SecuritySystemAlarmType_Meta = Metadata[uint8]{
  2026  	Typ: "8E",
  2027  	MinValue: ValuePointer[uint8](0),
  2028  	MaxValue: ValuePointer[uint8](1),
  2029  	MinStep: 1,
  2030  }
  2031  
  2032  // SecuritySystemAlarmType represents a Security System Alarm Type characteristic (8E)
  2033  //
  2034  // UUID: 0000008E-0000-1000-8000-0026BB765291.
  2035  func SecuritySystemAlarmType(value uint8) *Updatable[uint8] {
  2036  	static := Static[uint8]{
  2037  		Metadata: SecuritySystemAlarmType_Meta,
  2038  		value:    value,
  2039  	}
  2040  	return &Updatable[uint8]{
  2041  		Static: static,
  2042  	}
  2043  }
  2044  
  2045  type SecuritySystemCurrentState_Type uint8
  2046  
  2047  const SecuritySystemCurrentState_StayArm = SecuritySystemCurrentState_Type(0)
  2048  const SecuritySystemCurrentState_AwayArm = SecuritySystemCurrentState_Type(1)
  2049  const SecuritySystemCurrentState_NightArm = SecuritySystemCurrentState_Type(2)
  2050  const SecuritySystemCurrentState_Disarmed = SecuritySystemCurrentState_Type(3)
  2051  const SecuritySystemCurrentState_AlarmTriggered = SecuritySystemCurrentState_Type(4)
  2052  
  2053  var SecuritySystemCurrentState_Meta = Metadata[uint8]{
  2054  	Typ: "66",
  2055  }
  2056  
  2057  // SecuritySystemCurrentState represents a Security System Current State characteristic (66)
  2058  //
  2059  // UUID: 00000066-0000-1000-8000-0026BB765291.
  2060  func SecuritySystemCurrentState(value SecuritySystemCurrentState_Type) *Updatable[uint8] {
  2061  	static := Static[uint8]{
  2062  		Metadata: SecuritySystemCurrentState_Meta,
  2063  		value:    uint8(value),
  2064  	}
  2065  	return &Updatable[uint8]{
  2066  		Static: static,
  2067  	}
  2068  }
  2069  
  2070  type SecuritySystemTargetState_Type uint8
  2071  
  2072  const SecuritySystemTargetState_StayArm = SecuritySystemTargetState_Type(0)
  2073  const SecuritySystemTargetState_AwayArm = SecuritySystemTargetState_Type(1)
  2074  const SecuritySystemTargetState_NightArm = SecuritySystemTargetState_Type(2)
  2075  const SecuritySystemTargetState_Disarm = SecuritySystemTargetState_Type(3)
  2076  
  2077  var SecuritySystemTargetState_Meta = Metadata[uint8]{
  2078  	Typ: "67",
  2079  }
  2080  
  2081  // SecuritySystemTargetState represents a Security System Target State characteristic (67)
  2082  //
  2083  // UUID: 00000067-0000-1000-8000-0026BB765291.
  2084  func SecuritySystemTargetState(value SecuritySystemTargetState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2085  	static := Static[uint8]{
  2086  		Metadata: SecuritySystemTargetState_Meta,
  2087  		value:    uint8(value),
  2088  	}
  2089  	return &Writable[uint8]{
  2090  		Updatable: Updatable[uint8]{Static: static},
  2091  		write: controllerWrite,
  2092  	}
  2093  }
  2094  
  2095  
  2096  // SelectedRTPStreamConfiguration represents a Selected RTP Stream Configuration characteristic (117)
  2097  //
  2098  // UUID: 00000117-0000-1000-8000-0026BB765291.
  2099  func SelectedRTPStreamConfiguration(value SelectedRTPStreamConfigurationResponse, controllerWrite func(SelectedRTPStreamConfigurationRequest) (SelectedRTPStreamConfigurationResponse, error)) *WritableTLV8[SelectedRTPStreamConfigurationRequest, SelectedRTPStreamConfigurationResponse] {
  2100  	static := StaticTLV8[SelectedRTPStreamConfigurationResponse]{
  2101  		Typ:   "117",
  2102  		value: value,
  2103  	}
  2104  	return &WritableTLV8[SelectedRTPStreamConfigurationRequest, SelectedRTPStreamConfigurationResponse]{
  2105  		UpdatableTLV8: UpdatableTLV8[SelectedRTPStreamConfigurationResponse]{StaticTLV8: static},
  2106  		write: controllerWrite,
  2107  	}
  2108  }
  2109  
  2110  var SerialNumber_Meta = Metadata[string]{
  2111  	Typ: "30",
  2112  }
  2113  
  2114  // SerialNumber represents a Serial Number characteristic (30)
  2115  //
  2116  // UUID: 00000030-0000-1000-8000-0026BB765291.
  2117  func SerialNumber(value string) Static[string] {
  2118  	static := Static[string]{
  2119  		Metadata: SerialNumber_Meta,
  2120  		value:    value,
  2121  	}
  2122  	return static
  2123  }
  2124  
  2125  var ServiceLabelIndex_Meta = Metadata[uint8]{
  2126  	Typ: "CB",
  2127  	MinValue: ValuePointer[uint8](1),
  2128  	MaxValue: ValuePointer[uint8](255),
  2129  	MinStep: 1,
  2130  }
  2131  
  2132  // ServiceLabelIndex represents a Service Label Index characteristic (CB)
  2133  //
  2134  // UUID: 000000CB-0000-1000-8000-0026BB765291.
  2135  func ServiceLabelIndex(value uint8) Static[uint8] {
  2136  	static := Static[uint8]{
  2137  		Metadata: ServiceLabelIndex_Meta,
  2138  		value:    value,
  2139  	}
  2140  	return static
  2141  }
  2142  
  2143  type ServiceLabelNamespace_Type uint8
  2144  
  2145  const ServiceLabelNamespace_Dots = ServiceLabelNamespace_Type(0)
  2146  const ServiceLabelNamespace_ArabicNumerals = ServiceLabelNamespace_Type(1)
  2147  
  2148  var ServiceLabelNamespace_Meta = Metadata[uint8]{
  2149  	Typ: "CD",
  2150  }
  2151  
  2152  // ServiceLabelNamespace represents a Service Label Namespace characteristic (CD)
  2153  //
  2154  // UUID: 000000CD-0000-1000-8000-0026BB765291.
  2155  func ServiceLabelNamespace(value ServiceLabelNamespace_Type) Static[uint8] {
  2156  	static := Static[uint8]{
  2157  		Metadata: ServiceLabelNamespace_Meta,
  2158  		value:    uint8(value),
  2159  	}
  2160  	return static
  2161  }
  2162  
  2163  var SetDuration_Meta = Metadata[uint32]{
  2164  	Typ: "D3",
  2165  	MinValue: ValuePointer[uint32](0),
  2166  	MaxValue: ValuePointer[uint32](3600),
  2167  	MinStep: 1,
  2168  }
  2169  
  2170  // SetDuration represents a Set Duration characteristic (D3)
  2171  //
  2172  // UUID: 000000D3-0000-1000-8000-0026BB765291.
  2173  func SetDuration(value uint32, controllerWrite func(uint32) error) *Writable[uint32] {
  2174  	static := Static[uint32]{
  2175  		Metadata: SetDuration_Meta,
  2176  		value:    value,
  2177  	}
  2178  	return &Writable[uint32]{
  2179  		Updatable: Updatable[uint32]{Static: static},
  2180  		write: controllerWrite,
  2181  	}
  2182  }
  2183  
  2184  
  2185  // SetupEndpoints represents a Setup Endpoints characteristic (118)
  2186  //
  2187  // UUID: 00000118-0000-1000-8000-0026BB765291.
  2188  func SetupEndpoints(value SetupEndpointsResponse, controllerWrite func(SetupEndpointsRequest) (SetupEndpointsResponse, error)) *WritableTLV8[SetupEndpointsRequest, SetupEndpointsResponse] {
  2189  	static := StaticTLV8[SetupEndpointsResponse]{
  2190  		Typ:   "118",
  2191  		value: value,
  2192  	}
  2193  	return &WritableTLV8[SetupEndpointsRequest, SetupEndpointsResponse]{
  2194  		UpdatableTLV8: UpdatableTLV8[SetupEndpointsResponse]{StaticTLV8: static},
  2195  		write: controllerWrite,
  2196  	}
  2197  }
  2198  
  2199  type SlatType_Type uint8
  2200  
  2201  const SlatType_Horizontal = SlatType_Type(0)
  2202  const SlatType_Vertical = SlatType_Type(1)
  2203  
  2204  var SlatType_Meta = Metadata[uint8]{
  2205  	Typ: "C0",
  2206  }
  2207  
  2208  // SlatType represents a Slat Type characteristic (C0)
  2209  //
  2210  // UUID: 000000C0-0000-1000-8000-0026BB765291.
  2211  func SlatType(value SlatType_Type) Static[uint8] {
  2212  	static := Static[uint8]{
  2213  		Metadata: SlatType_Meta,
  2214  		value:    uint8(value),
  2215  	}
  2216  	return static
  2217  }
  2218  
  2219  type SleepDiscoveryMode_Type uint8
  2220  
  2221  const SleepDiscoveryMode_NotDiscoverable = SleepDiscoveryMode_Type(0)
  2222  const SleepDiscoveryMode_AlwaysDiscoverable = SleepDiscoveryMode_Type(1)
  2223  
  2224  var SleepDiscoveryMode_Meta = Metadata[uint8]{
  2225  	Typ: "E8",
  2226  	MinValue: ValuePointer[uint8](0),
  2227  	MaxValue: ValuePointer[uint8](1),
  2228  }
  2229  
  2230  // SleepDiscoveryMode represents a Sleep Discovery Mode characteristic (E8)
  2231  //
  2232  // UUID: 000000E8-0000-1000-8000-0026BB765291.
  2233  func SleepDiscoveryMode(value SleepDiscoveryMode_Type) *Updatable[uint8] {
  2234  	static := Static[uint8]{
  2235  		Metadata: SleepDiscoveryMode_Meta,
  2236  		value:    uint8(value),
  2237  	}
  2238  	return &Updatable[uint8]{
  2239  		Static: static,
  2240  	}
  2241  }
  2242  
  2243  type SmokeDetected_Type uint8
  2244  
  2245  const SmokeDetected_SmokeNotDetected = SmokeDetected_Type(0)
  2246  const SmokeDetected_SmokeDetected = SmokeDetected_Type(1)
  2247  
  2248  var SmokeDetected_Meta = Metadata[uint8]{
  2249  	Typ: "76",
  2250  }
  2251  
  2252  // SmokeDetected represents a Smoke Detected characteristic (76)
  2253  //
  2254  // UUID: 00000076-0000-1000-8000-0026BB765291.
  2255  func SmokeDetected(value SmokeDetected_Type) *Updatable[uint8] {
  2256  	static := Static[uint8]{
  2257  		Metadata: SmokeDetected_Meta,
  2258  		value:    uint8(value),
  2259  	}
  2260  	return &Updatable[uint8]{
  2261  		Static: static,
  2262  	}
  2263  }
  2264  
  2265  var StatusActive_Meta = Metadata[bool]{
  2266  	Typ: "75",
  2267  }
  2268  
  2269  // StatusActive represents a Status Active characteristic (75)
  2270  //
  2271  // UUID: 00000075-0000-1000-8000-0026BB765291.
  2272  func StatusActive(value bool) *Updatable[bool] {
  2273  	static := Static[bool]{
  2274  		Metadata: StatusActive_Meta,
  2275  		value:    value,
  2276  	}
  2277  	return &Updatable[bool]{
  2278  		Static: static,
  2279  	}
  2280  }
  2281  
  2282  type StatusFault_Type uint8
  2283  
  2284  const StatusFault_NoFault = StatusFault_Type(0)
  2285  const StatusFault_GeneralFault = StatusFault_Type(1)
  2286  
  2287  var StatusFault_Meta = Metadata[uint8]{
  2288  	Typ: "77",
  2289  }
  2290  
  2291  // StatusFault represents a Status Fault characteristic (77)
  2292  //
  2293  // UUID: 00000077-0000-1000-8000-0026BB765291.
  2294  func StatusFault(value StatusFault_Type) *Updatable[uint8] {
  2295  	static := Static[uint8]{
  2296  		Metadata: StatusFault_Meta,
  2297  		value:    uint8(value),
  2298  	}
  2299  	return &Updatable[uint8]{
  2300  		Static: static,
  2301  	}
  2302  }
  2303  
  2304  type StatusJammed_Type uint8
  2305  
  2306  const StatusJammed_NotJammed = StatusJammed_Type(0)
  2307  const StatusJammed_Jammed = StatusJammed_Type(1)
  2308  
  2309  var StatusJammed_Meta = Metadata[uint8]{
  2310  	Typ: "78",
  2311  }
  2312  
  2313  // StatusJammed represents a Status Jammed characteristic (78)
  2314  //
  2315  // UUID: 00000078-0000-1000-8000-0026BB765291.
  2316  func StatusJammed(value StatusJammed_Type) *Updatable[uint8] {
  2317  	static := Static[uint8]{
  2318  		Metadata: StatusJammed_Meta,
  2319  		value:    uint8(value),
  2320  	}
  2321  	return &Updatable[uint8]{
  2322  		Static: static,
  2323  	}
  2324  }
  2325  
  2326  type StatusLowBattery_Type uint8
  2327  
  2328  const StatusLowBattery_BatteryLevelNormal = StatusLowBattery_Type(0)
  2329  const StatusLowBattery_BatteryLevelLow = StatusLowBattery_Type(1)
  2330  
  2331  var StatusLowBattery_Meta = Metadata[uint8]{
  2332  	Typ: "79",
  2333  }
  2334  
  2335  // StatusLowBattery represents a Status Low Battery characteristic (79)
  2336  //
  2337  // UUID: 00000079-0000-1000-8000-0026BB765291.
  2338  func StatusLowBattery(value StatusLowBattery_Type) *Updatable[uint8] {
  2339  	static := Static[uint8]{
  2340  		Metadata: StatusLowBattery_Meta,
  2341  		value:    uint8(value),
  2342  	}
  2343  	return &Updatable[uint8]{
  2344  		Static: static,
  2345  	}
  2346  }
  2347  
  2348  type StatusTampered_Type uint8
  2349  
  2350  const StatusTampered_NotTampered = StatusTampered_Type(0)
  2351  const StatusTampered_Tampered = StatusTampered_Type(1)
  2352  
  2353  var StatusTampered_Meta = Metadata[uint8]{
  2354  	Typ: "7A",
  2355  }
  2356  
  2357  // StatusTampered represents a Status Tampered characteristic (7A)
  2358  //
  2359  // UUID: 0000007A-0000-1000-8000-0026BB765291.
  2360  func StatusTampered(value StatusTampered_Type) *Updatable[uint8] {
  2361  	static := Static[uint8]{
  2362  		Metadata: StatusTampered_Meta,
  2363  		value:    uint8(value),
  2364  	}
  2365  	return &Updatable[uint8]{
  2366  		Static: static,
  2367  	}
  2368  }
  2369  
  2370  
  2371  // StreamingStatus represents a Streaming Status characteristic (120)
  2372  //
  2373  // UUID: 00000120-0000-1000-8000-0026BB765291.
  2374  func StreamingStatus(value StreamingStatusResponse) *UpdatableTLV8[StreamingStatusResponse] {
  2375  	static := StaticTLV8[StreamingStatusResponse]{
  2376  		Typ:   "120",
  2377  		value: value,
  2378  	}
  2379  	return &UpdatableTLV8[StreamingStatusResponse]{
  2380  		StaticTLV8: static,
  2381  	}
  2382  }
  2383  
  2384  var SulphurDioxideDensity_Meta = Metadata[float64]{
  2385  	Typ: "C5",
  2386  	MinValue: ValuePointer[float64](0),
  2387  	MaxValue: ValuePointer[float64](1000),
  2388  	MinStep: 1,
  2389  }
  2390  
  2391  // SulphurDioxideDensity represents a Sulphur Dioxide Density characteristic (C5)
  2392  //
  2393  // UUID: 000000C5-0000-1000-8000-0026BB765291.
  2394  func SulphurDioxideDensity(value float64) *Updatable[float64] {
  2395  	static := Static[float64]{
  2396  		Metadata: SulphurDioxideDensity_Meta,
  2397  		value:    value,
  2398  	}
  2399  	return &Updatable[float64]{
  2400  		Static: static,
  2401  	}
  2402  }
  2403  
  2404  
  2405  // SupportedAudioStreamConfiguration represents a Supported Audio Stream Configuration characteristic (115)
  2406  //
  2407  // UUID: 00000115-0000-1000-8000-0026BB765291.
  2408  func SupportedAudioStreamConfiguration(value SupportedAudioStreamConfigurationResponse) StaticTLV8[SupportedAudioStreamConfigurationResponse] {
  2409  	static := StaticTLV8[SupportedAudioStreamConfigurationResponse]{
  2410  		Typ:   "115",
  2411  		value: value,
  2412  	}
  2413  	return static
  2414  }
  2415  
  2416  
  2417  // SupportedRTPConfiguration represents a Supported RTP Configuration characteristic (116)
  2418  //
  2419  // UUID: 00000116-0000-1000-8000-0026BB765291.
  2420  func SupportedRTPConfiguration(value SupportedRTPConfigurationResponse) StaticTLV8[SupportedRTPConfigurationResponse] {
  2421  	static := StaticTLV8[SupportedRTPConfigurationResponse]{
  2422  		Typ:   "116",
  2423  		value: value,
  2424  	}
  2425  	return static
  2426  }
  2427  
  2428  
  2429  // SupportedVideoStreamConfiguration represents a Supported Video Stream Configuration characteristic (114)
  2430  //
  2431  // UUID: 00000114-0000-1000-8000-0026BB765291.
  2432  func SupportedVideoStreamConfiguration(value SupportedVideoStreamConfigurationResponse) StaticTLV8[SupportedVideoStreamConfigurationResponse] {
  2433  	static := StaticTLV8[SupportedVideoStreamConfigurationResponse]{
  2434  		Typ:   "114",
  2435  		value: value,
  2436  	}
  2437  	return static
  2438  }
  2439  
  2440  type SwingMode_Type uint8
  2441  
  2442  const SwingMode_SwingDisabled = SwingMode_Type(0)
  2443  const SwingMode_SwingEnabled = SwingMode_Type(1)
  2444  
  2445  var SwingMode_Meta = Metadata[uint8]{
  2446  	Typ: "B6",
  2447  }
  2448  
  2449  // SwingMode represents a Swing Mode characteristic (B6)
  2450  //
  2451  // UUID: 000000B6-0000-1000-8000-0026BB765291.
  2452  func SwingMode(value SwingMode_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2453  	static := Static[uint8]{
  2454  		Metadata: SwingMode_Meta,
  2455  		value:    uint8(value),
  2456  	}
  2457  	return &Writable[uint8]{
  2458  		Updatable: Updatable[uint8]{Static: static},
  2459  		write: controllerWrite,
  2460  	}
  2461  }
  2462  
  2463  type TargetAirPurifierState_Type uint8
  2464  
  2465  const TargetAirPurifierState_Manual = TargetAirPurifierState_Type(0)
  2466  const TargetAirPurifierState_Auto = TargetAirPurifierState_Type(1)
  2467  
  2468  var TargetAirPurifierState_Meta = Metadata[uint8]{
  2469  	Typ: "A8",
  2470  }
  2471  
  2472  // TargetAirPurifierState represents a Target Air Purifier State characteristic (A8)
  2473  //
  2474  // UUID: 000000A8-0000-1000-8000-0026BB765291.
  2475  func TargetAirPurifierState(value TargetAirPurifierState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2476  	static := Static[uint8]{
  2477  		Metadata: TargetAirPurifierState_Meta,
  2478  		value:    uint8(value),
  2479  	}
  2480  	return &Writable[uint8]{
  2481  		Updatable: Updatable[uint8]{Static: static},
  2482  		write: controllerWrite,
  2483  	}
  2484  }
  2485  
  2486  type TargetAirQuality_Type uint8
  2487  
  2488  const TargetAirQuality_Excellent = TargetAirQuality_Type(0)
  2489  const TargetAirQuality_Good = TargetAirQuality_Type(1)
  2490  const TargetAirQuality_Fair = TargetAirQuality_Type(2)
  2491  
  2492  var TargetAirQuality_Meta = Metadata[uint8]{
  2493  	Typ: "AE",
  2494  }
  2495  
  2496  // TargetAirQuality represents a Target Air Quality characteristic (AE)
  2497  //
  2498  // UUID: 000000AE-0000-1000-8000-0026BB765291.
  2499  func TargetAirQuality(value TargetAirQuality_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2500  	static := Static[uint8]{
  2501  		Metadata: TargetAirQuality_Meta,
  2502  		value:    uint8(value),
  2503  	}
  2504  	return &Writable[uint8]{
  2505  		Updatable: Updatable[uint8]{Static: static},
  2506  		write: controllerWrite,
  2507  	}
  2508  }
  2509  
  2510  type TargetDoorState_Type uint8
  2511  
  2512  const TargetDoorState_Open = TargetDoorState_Type(0)
  2513  const TargetDoorState_Closed = TargetDoorState_Type(1)
  2514  
  2515  var TargetDoorState_Meta = Metadata[uint8]{
  2516  	Typ: "32",
  2517  }
  2518  
  2519  // TargetDoorState represents a Target Door State characteristic (32)
  2520  //
  2521  // UUID: 00000032-0000-1000-8000-0026BB765291.
  2522  func TargetDoorState(value TargetDoorState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2523  	static := Static[uint8]{
  2524  		Metadata: TargetDoorState_Meta,
  2525  		value:    uint8(value),
  2526  	}
  2527  	return &Writable[uint8]{
  2528  		Updatable: Updatable[uint8]{Static: static},
  2529  		write: controllerWrite,
  2530  	}
  2531  }
  2532  
  2533  type TargetFanState_Type uint8
  2534  
  2535  const TargetFanState_Manual = TargetFanState_Type(0)
  2536  const TargetFanState_Auto = TargetFanState_Type(1)
  2537  
  2538  var TargetFanState_Meta = Metadata[uint8]{
  2539  	Typ: "BF",
  2540  }
  2541  
  2542  // TargetFanState represents a Target Fan State characteristic (BF)
  2543  //
  2544  // UUID: 000000BF-0000-1000-8000-0026BB765291.
  2545  func TargetFanState(value TargetFanState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2546  	static := Static[uint8]{
  2547  		Metadata: TargetFanState_Meta,
  2548  		value:    uint8(value),
  2549  	}
  2550  	return &Writable[uint8]{
  2551  		Updatable: Updatable[uint8]{Static: static},
  2552  		write: controllerWrite,
  2553  	}
  2554  }
  2555  
  2556  type TargetHeaterCoolerState_Type uint8
  2557  
  2558  const TargetHeaterCoolerState_Auto = TargetHeaterCoolerState_Type(0)
  2559  const TargetHeaterCoolerState_Heat = TargetHeaterCoolerState_Type(1)
  2560  const TargetHeaterCoolerState_Cool = TargetHeaterCoolerState_Type(2)
  2561  
  2562  var TargetHeaterCoolerState_Meta = Metadata[uint8]{
  2563  	Typ: "B2",
  2564  }
  2565  
  2566  // TargetHeaterCoolerState represents a Target Heater Cooler State characteristic (B2)
  2567  //
  2568  // UUID: 000000B2-0000-1000-8000-0026BB765291.
  2569  func TargetHeaterCoolerState(value TargetHeaterCoolerState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2570  	static := Static[uint8]{
  2571  		Metadata: TargetHeaterCoolerState_Meta,
  2572  		value:    uint8(value),
  2573  	}
  2574  	return &Writable[uint8]{
  2575  		Updatable: Updatable[uint8]{Static: static},
  2576  		write: controllerWrite,
  2577  	}
  2578  }
  2579  
  2580  type TargetHeatingCoolingState_Type uint8
  2581  
  2582  const TargetHeatingCoolingState_Off = TargetHeatingCoolingState_Type(0)
  2583  const TargetHeatingCoolingState_Heat = TargetHeatingCoolingState_Type(1)
  2584  const TargetHeatingCoolingState_Cool = TargetHeatingCoolingState_Type(2)
  2585  const TargetHeatingCoolingState_Auto = TargetHeatingCoolingState_Type(3)
  2586  
  2587  var TargetHeatingCoolingState_Meta = Metadata[uint8]{
  2588  	Typ: "33",
  2589  }
  2590  
  2591  // TargetHeatingCoolingState represents a Target Heating Cooling State characteristic (33)
  2592  //
  2593  // UUID: 00000033-0000-1000-8000-0026BB765291.
  2594  func TargetHeatingCoolingState(value TargetHeatingCoolingState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2595  	static := Static[uint8]{
  2596  		Metadata: TargetHeatingCoolingState_Meta,
  2597  		value:    uint8(value),
  2598  	}
  2599  	return &Writable[uint8]{
  2600  		Updatable: Updatable[uint8]{Static: static},
  2601  		write: controllerWrite,
  2602  	}
  2603  }
  2604  
  2605  var TargetHorizontalTiltAngle_Meta = Metadata[int32]{
  2606  	Typ: "7B",
  2607  	Unit: "arcdegrees",
  2608  	MinValue: ValuePointer[int32](-90),
  2609  	MaxValue: ValuePointer[int32](90),
  2610  	MinStep: 1,
  2611  }
  2612  
  2613  // TargetHorizontalTiltAngle represents a Target Horizontal Tilt Angle characteristic (7B)
  2614  //
  2615  // UUID: 0000007B-0000-1000-8000-0026BB765291.
  2616  func TargetHorizontalTiltAngle(value int32, controllerWrite func(int32) error) *Writable[int32] {
  2617  	static := Static[int32]{
  2618  		Metadata: TargetHorizontalTiltAngle_Meta,
  2619  		value:    value,
  2620  	}
  2621  	return &Writable[int32]{
  2622  		Updatable: Updatable[int32]{Static: static},
  2623  		write: controllerWrite,
  2624  	}
  2625  }
  2626  
  2627  type TargetHumidifierDehumidifierState_Type uint8
  2628  
  2629  const TargetHumidifierDehumidifierState_HumidifierOrDehumidifier = TargetHumidifierDehumidifierState_Type(0)
  2630  const TargetHumidifierDehumidifierState_Humidifier = TargetHumidifierDehumidifierState_Type(1)
  2631  const TargetHumidifierDehumidifierState_Dehumidifier = TargetHumidifierDehumidifierState_Type(2)
  2632  
  2633  var TargetHumidifierDehumidifierState_Meta = Metadata[uint8]{
  2634  	Typ: "B4",
  2635  }
  2636  
  2637  // TargetHumidifierDehumidifierState represents a Target Humidifier Dehumidifier State characteristic (B4)
  2638  //
  2639  // UUID: 000000B4-0000-1000-8000-0026BB765291.
  2640  func TargetHumidifierDehumidifierState(value TargetHumidifierDehumidifierState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2641  	static := Static[uint8]{
  2642  		Metadata: TargetHumidifierDehumidifierState_Meta,
  2643  		value:    uint8(value),
  2644  	}
  2645  	return &Writable[uint8]{
  2646  		Updatable: Updatable[uint8]{Static: static},
  2647  		write: controllerWrite,
  2648  	}
  2649  }
  2650  
  2651  var TargetPosition_Meta = Metadata[uint8]{
  2652  	Typ: "7C",
  2653  	Unit: "percentage",
  2654  	MinValue: ValuePointer[uint8](0),
  2655  	MaxValue: ValuePointer[uint8](100),
  2656  	MinStep: 1,
  2657  }
  2658  
  2659  // TargetPosition represents a Target Position characteristic (7C)
  2660  //
  2661  // UUID: 0000007C-0000-1000-8000-0026BB765291.
  2662  func TargetPosition(value uint8, controllerWrite func(uint8) error) *Writable[uint8] {
  2663  	static := Static[uint8]{
  2664  		Metadata: TargetPosition_Meta,
  2665  		value:    value,
  2666  	}
  2667  	return &Writable[uint8]{
  2668  		Updatable: Updatable[uint8]{Static: static},
  2669  		write: controllerWrite,
  2670  	}
  2671  }
  2672  
  2673  var TargetRelativeHumidity_Meta = Metadata[float64]{
  2674  	Typ: "34",
  2675  	Unit: "percentage",
  2676  	MinValue: ValuePointer[float64](0),
  2677  	MaxValue: ValuePointer[float64](100),
  2678  	MinStep: 1,
  2679  }
  2680  
  2681  // TargetRelativeHumidity represents a Target Relative Humidity characteristic (34)
  2682  //
  2683  // UUID: 00000034-0000-1000-8000-0026BB765291.
  2684  func TargetRelativeHumidity(value float64, controllerWrite func(float64) error) *Writable[float64] {
  2685  	static := Static[float64]{
  2686  		Metadata: TargetRelativeHumidity_Meta,
  2687  		value:    value,
  2688  	}
  2689  	return &Writable[float64]{
  2690  		Updatable: Updatable[float64]{Static: static},
  2691  		write: controllerWrite,
  2692  	}
  2693  }
  2694  
  2695  type TargetSlatState_Type uint8
  2696  
  2697  const TargetSlatState_Manual = TargetSlatState_Type(0)
  2698  const TargetSlatState_Auto = TargetSlatState_Type(1)
  2699  
  2700  var TargetSlatState_Meta = Metadata[uint8]{
  2701  	Typ: "BE",
  2702  }
  2703  
  2704  // TargetSlatState represents a Target Slat State characteristic (BE)
  2705  //
  2706  // UUID: 000000BE-0000-1000-8000-0026BB765291.
  2707  func TargetSlatState(value TargetSlatState_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2708  	static := Static[uint8]{
  2709  		Metadata: TargetSlatState_Meta,
  2710  		value:    uint8(value),
  2711  	}
  2712  	return &Writable[uint8]{
  2713  		Updatable: Updatable[uint8]{Static: static},
  2714  		write: controllerWrite,
  2715  	}
  2716  }
  2717  
  2718  var TargetTemperature_Meta = Metadata[float64]{
  2719  	Typ: "35",
  2720  	Unit: "celsius",
  2721  	MinValue: ValuePointer[float64](10),
  2722  	MaxValue: ValuePointer[float64](38),
  2723  	MinStep: 0.1,
  2724  }
  2725  
  2726  // TargetTemperature represents a Target Temperature characteristic (35)
  2727  //
  2728  // UUID: 00000035-0000-1000-8000-0026BB765291.
  2729  func TargetTemperature(value float64, controllerWrite func(float64) error) *Writable[float64] {
  2730  	static := Static[float64]{
  2731  		Metadata: TargetTemperature_Meta,
  2732  		value:    value,
  2733  	}
  2734  	return &Writable[float64]{
  2735  		Updatable: Updatable[float64]{Static: static},
  2736  		write: controllerWrite,
  2737  	}
  2738  }
  2739  
  2740  var TargetTiltAngle_Meta = Metadata[int32]{
  2741  	Typ: "C2",
  2742  	Unit: "arcdegrees",
  2743  	MinValue: ValuePointer[int32](-90),
  2744  	MaxValue: ValuePointer[int32](90),
  2745  	MinStep: 1,
  2746  }
  2747  
  2748  // TargetTiltAngle represents a Target Tilt Angle characteristic (C2)
  2749  //
  2750  // UUID: 000000C2-0000-1000-8000-0026BB765291.
  2751  func TargetTiltAngle(value int32, controllerWrite func(int32) error) *Writable[int32] {
  2752  	static := Static[int32]{
  2753  		Metadata: TargetTiltAngle_Meta,
  2754  		value:    value,
  2755  	}
  2756  	return &Writable[int32]{
  2757  		Updatable: Updatable[int32]{Static: static},
  2758  		write: controllerWrite,
  2759  	}
  2760  }
  2761  
  2762  var TargetVerticalTiltAngle_Meta = Metadata[int32]{
  2763  	Typ: "7D",
  2764  	Unit: "arcdegrees",
  2765  	MinValue: ValuePointer[int32](-90),
  2766  	MaxValue: ValuePointer[int32](90),
  2767  	MinStep: 1,
  2768  }
  2769  
  2770  // TargetVerticalTiltAngle represents a Target Vertical Tilt Angle characteristic (7D)
  2771  //
  2772  // UUID: 0000007D-0000-1000-8000-0026BB765291.
  2773  func TargetVerticalTiltAngle(value int32, controllerWrite func(int32) error) *Writable[int32] {
  2774  	static := Static[int32]{
  2775  		Metadata: TargetVerticalTiltAngle_Meta,
  2776  		value:    value,
  2777  	}
  2778  	return &Writable[int32]{
  2779  		Updatable: Updatable[int32]{Static: static},
  2780  		write: controllerWrite,
  2781  	}
  2782  }
  2783  
  2784  type TemperatureDisplayUnits_Type uint8
  2785  
  2786  const TemperatureDisplayUnits_Celsius = TemperatureDisplayUnits_Type(0)
  2787  const TemperatureDisplayUnits_Fahrenheit = TemperatureDisplayUnits_Type(1)
  2788  
  2789  var TemperatureDisplayUnits_Meta = Metadata[uint8]{
  2790  	Typ: "36",
  2791  }
  2792  
  2793  // TemperatureDisplayUnits represents a Temperature Display Units characteristic (36)
  2794  //
  2795  // UUID: 00000036-0000-1000-8000-0026BB765291.
  2796  func TemperatureDisplayUnits(value TemperatureDisplayUnits_Type, controllerWrite func(uint8) error) *Writable[uint8] {
  2797  	static := Static[uint8]{
  2798  		Metadata: TemperatureDisplayUnits_Meta,
  2799  		value:    uint8(value),
  2800  	}
  2801  	return &Writable[uint8]{
  2802  		Updatable: Updatable[uint8]{Static: static},
  2803  		write: controllerWrite,
  2804  	}
  2805  }
  2806  
  2807  type ValveType_Type uint8
  2808  
  2809  const ValveType_GenericValve = ValveType_Type(0)
  2810  const ValveType_Irrigation = ValveType_Type(1)
  2811  const ValveType_ShowerHead = ValveType_Type(2)
  2812  const ValveType_WaterFaucet = ValveType_Type(3)
  2813  
  2814  var ValveType_Meta = Metadata[uint8]{
  2815  	Typ: "D5",
  2816  }
  2817  
  2818  // ValveType represents a Valve Type characteristic (D5)
  2819  //
  2820  // UUID: 000000D5-0000-1000-8000-0026BB765291.
  2821  func ValveType(value ValveType_Type) *Updatable[uint8] {
  2822  	static := Static[uint8]{
  2823  		Metadata: ValveType_Meta,
  2824  		value:    uint8(value),
  2825  	}
  2826  	return &Updatable[uint8]{
  2827  		Static: static,
  2828  	}
  2829  }
  2830  
  2831  var Version_Meta = Metadata[string]{
  2832  	Typ: "37",
  2833  }
  2834  
  2835  // Version represents a Version characteristic (37)
  2836  //
  2837  // UUID: 00000037-0000-1000-8000-0026BB765291.
  2838  func Version(value string) *Updatable[string] {
  2839  	static := Static[string]{
  2840  		Metadata: Version_Meta,
  2841  		value:    value,
  2842  	}
  2843  	return &Updatable[string]{
  2844  		Static: static,
  2845  	}
  2846  }
  2847  
  2848  var VOCDensity_Meta = Metadata[float64]{
  2849  	Typ: "C8",
  2850  	MinValue: ValuePointer[float64](0),
  2851  	MaxValue: ValuePointer[float64](1000),
  2852  	MinStep: 1,
  2853  }
  2854  
  2855  // VOCDensity represents a VOC Density characteristic (C8)
  2856  //
  2857  // UUID: 000000C8-0000-1000-8000-0026BB765291.
  2858  func VOCDensity(value float64) *Updatable[float64] {
  2859  	static := Static[float64]{
  2860  		Metadata: VOCDensity_Meta,
  2861  		value:    value,
  2862  	}
  2863  	return &Updatable[float64]{
  2864  		Static: static,
  2865  	}
  2866  }
  2867  
  2868  var Volume_Meta = Metadata[uint8]{
  2869  	Typ: "119",
  2870  	Unit: "percentage",
  2871  	MinValue: ValuePointer[uint8](0),
  2872  	MaxValue: ValuePointer[uint8](100),
  2873  	MinStep: 1,
  2874  }
  2875  
  2876  // Volume represents a Volume characteristic (119)
  2877  //
  2878  // UUID: 00000119-0000-1000-8000-0026BB765291.
  2879  func Volume(value uint8, controllerWrite func(uint8) error) *Writable[uint8] {
  2880  	static := Static[uint8]{
  2881  		Metadata: Volume_Meta,
  2882  		value:    value,
  2883  	}
  2884  	return &Writable[uint8]{
  2885  		Updatable: Updatable[uint8]{Static: static},
  2886  		write: controllerWrite,
  2887  	}
  2888  }
  2889  
  2890  type VolumeControlType_Type uint8
  2891  
  2892  const VolumeControlType_None = VolumeControlType_Type(0)
  2893  const VolumeControlType_Relative = VolumeControlType_Type(1)
  2894  const VolumeControlType_RelativeWithCurrent = VolumeControlType_Type(2)
  2895  const VolumeControlType_Absolute = VolumeControlType_Type(3)
  2896  
  2897  var VolumeControlType_Meta = Metadata[uint8]{
  2898  	Typ: "E9",
  2899  	MinValue: ValuePointer[uint8](0),
  2900  	MaxValue: ValuePointer[uint8](3),
  2901  	MinStep: 1,
  2902  }
  2903  
  2904  // VolumeControlType represents a Volume Control Type characteristic (E9)
  2905  //
  2906  // UUID: 000000E9-0000-1000-8000-0026BB765291.
  2907  func VolumeControlType(value VolumeControlType_Type) *Updatable[uint8] {
  2908  	static := Static[uint8]{
  2909  		Metadata: VolumeControlType_Meta,
  2910  		value:    uint8(value),
  2911  	}
  2912  	return &Updatable[uint8]{
  2913  		Static: static,
  2914  	}
  2915  }
  2916  
  2917  type VolumeSelector_Type uint8
  2918  
  2919  const VolumeSelector_Increment = VolumeSelector_Type(0)
  2920  const VolumeSelector_Decrement = VolumeSelector_Type(1)
  2921  
  2922  var VolumeSelector_Meta = Metadata[uint8]{
  2923  	Typ: "EA",
  2924  	MinValue: ValuePointer[uint8](0),
  2925  	MaxValue: ValuePointer[uint8](1),
  2926  	MinStep: 1,
  2927  }
  2928  
  2929  // VolumeSelector represents a Volume Selector characteristic (EA)
  2930  //
  2931  // UUID: 000000EA-0000-1000-8000-0026BB765291.
  2932  func VolumeSelector(controllerWrite func(uint8) error) WriteOnly[uint8] {
  2933  	return WriteOnly[uint8]{
  2934  		Metadata: VolumeSelector_Meta,
  2935  		write:    controllerWrite,
  2936  	}
  2937  }
  2938  
  2939  var WaterLevel_Meta = Metadata[float64]{
  2940  	Typ: "B5",
  2941  	Unit: "percentage",
  2942  	MinValue: ValuePointer[float64](0),
  2943  	MaxValue: ValuePointer[float64](100),
  2944  }
  2945  
  2946  // WaterLevel represents a Water Level characteristic (B5)
  2947  //
  2948  // UUID: 000000B5-0000-1000-8000-0026BB765291.
  2949  func WaterLevel(value float64) *Updatable[float64] {
  2950  	static := Static[float64]{
  2951  		Metadata: WaterLevel_Meta,
  2952  		value:    value,
  2953  	}
  2954  	return &Updatable[float64]{
  2955  		Static: static,
  2956  	}
  2957  }
  2958  
  2959  
  2960  // SupportedCameraRecordingConfiguration represents a Supported Camera Recording Configuration characteristic (205)
  2961  //
  2962  // UUID: 00000205-0000-1000-8000-0026BB765291.
  2963  func SupportedCameraRecordingConfiguration(value SupportedCameraRecordingConfigurationResponse) *UpdatableTLV8[SupportedCameraRecordingConfigurationResponse] {
  2964  	static := StaticTLV8[SupportedCameraRecordingConfigurationResponse]{
  2965  		Typ:   "205",
  2966  		value: value,
  2967  	}
  2968  	return &UpdatableTLV8[SupportedCameraRecordingConfigurationResponse]{
  2969  		StaticTLV8: static,
  2970  	}
  2971  }
  2972  
  2973  
  2974  // SupportedVideoRecordingConfiguration represents a Supported Video Recording Configuration characteristic (206)
  2975  //
  2976  // UUID: 00000206-0000-1000-8000-0026BB765291.
  2977  func SupportedVideoRecordingConfiguration(value SupportedVideoRecordingConfigurationResponse) *UpdatableTLV8[SupportedVideoRecordingConfigurationResponse] {
  2978  	static := StaticTLV8[SupportedVideoRecordingConfigurationResponse]{
  2979  		Typ:   "206",
  2980  		value: value,
  2981  	}
  2982  	return &UpdatableTLV8[SupportedVideoRecordingConfigurationResponse]{
  2983  		StaticTLV8: static,
  2984  	}
  2985  }
  2986  
  2987  
  2988  // SupportedAudioRecordingConfiguration represents a Supported Audio Recording Configuration characteristic (207)
  2989  //
  2990  // UUID: 00000207-0000-1000-8000-0026BB765291.
  2991  func SupportedAudioRecordingConfiguration(value SupportedAudioRecordingConfigurationResponse) *UpdatableTLV8[SupportedAudioRecordingConfigurationResponse] {
  2992  	static := StaticTLV8[SupportedAudioRecordingConfigurationResponse]{
  2993  		Typ:   "207",
  2994  		value: value,
  2995  	}
  2996  	return &UpdatableTLV8[SupportedAudioRecordingConfigurationResponse]{
  2997  		StaticTLV8: static,
  2998  	}
  2999  }
  3000  
  3001  
  3002  // SelectedCameraRecordingConfiguration represents a Selected Camera Recording Configuration characteristic (209)
  3003  //
  3004  // UUID: 00000209-0000-1000-8000-0026BB765291.
  3005  func SelectedCameraRecordingConfiguration(value SelectedCameraRecordingConfigurationResponse, controllerWrite func(SelectedCameraRecordingConfigurationRequest) (SelectedCameraRecordingConfigurationResponse, error)) *WritableTLV8[SelectedCameraRecordingConfigurationRequest, SelectedCameraRecordingConfigurationResponse] {
  3006  	static := StaticTLV8[SelectedCameraRecordingConfigurationResponse]{
  3007  		Typ:   "209",
  3008  		value: value,
  3009  	}
  3010  	return &WritableTLV8[SelectedCameraRecordingConfigurationRequest, SelectedCameraRecordingConfigurationResponse]{
  3011  		UpdatableTLV8: UpdatableTLV8[SelectedCameraRecordingConfigurationResponse]{StaticTLV8: static},
  3012  		write: controllerWrite,
  3013  	}
  3014  }