SwiftenumHomeAutomationInternal

enum HomeAutomationInternal.Attribute

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 57

  1. casecase airParticulateDensity(Double)
  2. casecase airParticulateSize(HomeAutomationInternal.AirParticulateSize)
  3. casecase airQuality(HomeAutomationInternal.AirQuality)
  4. casecase batteryLevel(Int)
  5. casecase brightness(Int)
  6. casecase carbonDioxideDetected(Bool)
  7. casecase carbonDioxideLevel(Double)
  8. casecase carbonDioxidePeakLevel(Double)
  9. casecase carbonMonoxideDetected(Bool)
  10. casecase carbonMonoxideLevel(Double)
  11. casecase carbonMonoxidePeakLevel(Double)
  12. casecase childLockEnabled(Bool)
  13. casecase color(hue: Double, saturation: Double)
  14. casecase contactDetected(Bool)
  15. casecase currentAirPurifierState(HomeAutomationInternal.AirPurifierState)
  16. casecase currentDoorState(HomeAutomationInternal.PositionState)
  17. casecase currentHumidifierDehumidifierMode(mode: HomeAutomationInternal.HumidifierDehumidifierMode)
  18. casecase currentHumidity(Double)
  19. casecase currentLockState(HomeAutomationInternal.LockState)
  20. casecase currentPosition(Int)
  21. casecase currentSecuritySystemState(HomeAutomationInternal.SecuritySystemState)
  22. casecase currentTemperature(Double)
  23. casecase currentThermostatMode(mode: HomeAutomationInternal.ThermostatMode)
  24. casecase humidifierDehumidifierMode(mode: HomeAutomationInternal.HumidifierDehumidifierMode)
  25. casecase humidifierDehumidifierModeAndRange(mode: HomeAutomationInternal.HumidifierDehumidifierMode, lowerRange: Double, upperRange: Double)
  26. casecase humidifierDehumidifierModeAndValue(mode: HomeAutomationInternal.HumidifierDehumidifierMode, value: Double)
  27. casecase inUse(Bool)
  28. casecase leakDetected(Bool)
  29. casecase lightLevel(Double)
  30. casecase motionDetected(Bool)
  31. casecase naturalLight(Bool)
  32. casecase nitrogenDioxideDensity(Double)
  33. casecase obstructionDetected(Bool)
  34. casecase occupancyDetected(Bool)
  35. casecase ozoneDensity(Double)
  36. casecase pm10Density(Double)
  37. casecase pm2_5Density(Double)
  38. casecase power(Bool)
  39. casecase remainingDuration(Int)
  40. casecase rotationDirection(HomeAutomationInternal.RotationDirectionValue)
  41. casecase rotationSpeed(Double)
  42. casecase rvc(runState: HomeAutomationInternal.RobotVacuumCleanerRunState, cleanModes: [HomeAutomationInternal.RobotVacuumCleanerCleanMode], areaIDs: [Int]?, mapID: Int?)
  43. casecase rvcCurrentRun(HomeAutomationInternal.RobotVacuumBasicRunStateCommand)
  44. casecase setDuration(Int)
  45. casecase smokeDetected(Bool)
  46. casecase sulphurDioxideDensity(Double)
  47. casecase swingModeEnabled(Bool)
  48. casecase targetDoorState(HomeAutomationInternal.PositionState)
  49. casecase targetHumidity(Double)
  50. casecase targetLockState(HomeAutomationInternal.LockState)
  51. casecase targetPosition(Int)
  52. casecase targetSecuritySystemState(HomeAutomationInternal.SecuritySystemState)
  53. casecase thermostatMode(mode: HomeAutomationInternal.ThermostatMode)
  54. casecase thermostatModeAndRange(mode: HomeAutomationInternal.ThermostatMode, lowerRange: Double, upperRange: Double)
  55. casecase thermostatModeAndValue(mode: HomeAutomationInternal.ThermostatMode, value: Double)
  56. casecase volatileOrganicCompoundDensity(Double)
  57. casecase waterLevel(Double)
enum Attribute {
    enum Identifiers {
        case _1
        case _2
        case runState
        case cleanModes
        case mapID
        case areaIDs
        case hue
        case saturation
        case mode
        case value
        case lowerRange
        case upperRange
    }
    case airParticulateDensity(Swift.Double)
    case airParticulateSize(HomeAutomationInternal.AirParticulateSize)
    case airQuality(HomeAutomationInternal.AirQuality)
    case brightness(Swift.Int)
    case batteryLevel(Swift.Int)
    case carbonDioxideDetected(Swift.Bool)
    case carbonDioxideLevel(Swift.Double)
    case carbonDioxidePeakLevel(Swift.Double)
    case carbonMonoxideDetected(Swift.Bool)
    case carbonMonoxideLevel(Swift.Double)
    case carbonMonoxidePeakLevel(Swift.Double)
    case childLockEnabled(Swift.Bool)
    case color(hue: Swift.Double, saturation: Swift.Double)
    case contactDetected(Swift.Bool)
    case currentAirPurifierState(HomeAutomationInternal.AirPurifierState)
    case currentDoorState(HomeAutomationInternal.PositionState)
    case currentHumidifierDehumidifierMode(mode: HomeAutomationInternal.HumidifierDehumidifierMode)
    case currentHumidity(Swift.Double)
    case currentLockState(HomeAutomationInternal.LockState)
    case currentPosition(Swift.Int)
    case currentSecuritySystemState(HomeAutomationInternal.SecuritySystemState)
    case currentTemperature(Swift.Double)
    case currentThermostatMode(mode: HomeAutomationInternal.ThermostatMode)
    case inUse(Swift.Bool)
    case humidifierDehumidifierMode(mode: HomeAutomationInternal.HumidifierDehumidifierMode)
    case humidifierDehumidifierModeAndValue(mode: HomeAutomationInternal.HumidifierDehumidifierMode, value: Swift.Double)
    case humidifierDehumidifierModeAndRange(mode: HomeAutomationInternal.HumidifierDehumidifierMode, lowerRange: Swift.Double, upperRange: Swift.Double)
    case leakDetected(Swift.Bool)
    case lightLevel(Swift.Double)
    case motionDetected(Swift.Bool)
    case naturalLight(Swift.Bool)
    case nitrogenDioxideDensity(Swift.Double)
    case obstructionDetected(Swift.Bool)
    case occupancyDetected(Swift.Bool)
    case ozoneDensity(Swift.Double)
    case pm10Density(Swift.Double)
    case pm2_5Density(Swift.Double)
    case power(Swift.Bool)
    case remainingDuration(Swift.Int)
    case rotationDirection(HomeAutomationInternal.RotationDirectionValue)
    case rotationSpeed(Swift.Double)
    case rvc(runState: HomeAutomationInternal.RobotVacuumCleanerRunState, cleanModes: [HomeAutomationInternal.RobotVacuumCleanerCleanMode], areaIDs: [Swift.Int]?, mapID: Swift.Int?)
    case rvcCurrentRun(HomeAutomationInternal.RobotVacuumBasicRunStateCommand)
    case smokeDetected(Swift.Bool)
    case setDuration(Swift.Int)
    case sulphurDioxideDensity(Swift.Double)
    case swingModeEnabled(Swift.Bool)
    case targetDoorState(HomeAutomationInternal.PositionState)
    case targetHumidity(Swift.Double)
    case targetLockState(HomeAutomationInternal.LockState)
    case targetPosition(Swift.Int)
    case targetSecuritySystemState(HomeAutomationInternal.SecuritySystemState)
    case thermostatMode(mode: HomeAutomationInternal.ThermostatMode)
    case thermostatModeAndValue(mode: HomeAutomationInternal.ThermostatMode, value: Swift.Double)
    case thermostatModeAndRange(mode: HomeAutomationInternal.ThermostatMode, lowerRange: Swift.Double, upperRange: Swift.Double)
    case volatileOrganicCompoundDensity(Swift.Double)
    case waterLevel(Swift.Double)
}