EntityAttributes constructor

EntityAttributes({
  1. required List<String> deviceTrackers,
  2. required String? userId,
  3. required String friendlyName,
  4. bool? editable,
  5. String? id,
  6. List<String>? options,
  7. List<String>? supportedColorModes,
  8. int? brightness,
  9. List<int>? rgbColor,
  10. List<String>? hvacModes,
  11. int? minTemp,
  12. int? maxTemp,
  13. double? currentTemperature,
  14. double? temperature,
  15. double? targetTempLow,
  16. double? targetTempHigh,
  17. String? presetMode,
  18. String? hvacAction,
  19. String? fanMode,
  20. String? videoUrl,
  21. String? entityPicture,
})

Implementation

EntityAttributes({
  required this.deviceTrackers,
  required this.userId,
  required this.friendlyName,
  this.editable,
  this.id,
  this.options,

  // Light
  this.supportedColorModes,
  this.brightness,
  this.rgbColor,

  // Climate
  this.hvacModes,
  this.minTemp,
  this.maxTemp,
  this.currentTemperature,
  this.temperature,
  this.targetTempLow,
  this.targetTempHigh,
  this.presetMode,
  this.hvacAction,
  this.fanMode,

  // Camera
  this.videoUrl,
  this.entityPicture,
});