Skip to content

Commit

Permalink
Adjust Darwin availability for the renames.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Dec 1, 2023
1 parent d16aa43 commit 29740d9
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 48 deletions.
116 changes: 109 additions & 7 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3223,8 +3223,16 @@
Thermostat:
- SetpointAdjustMode
- ThermostatControlSequence
- ThermostatRunningMode
- ThermostatSystemMode
# ThermostatRunningModeEnum was originally named
# ThermostatRunningMode, but we generate the same API for the
# names with/without "Enum" at the end, so the name can just
# change here.
- ThermostatRunningModeEnum
# SystemModeEnum was originally named ThermostatSystemMode, but we
# generate the same API for the names with/without "Enum" at the
# end and the cluster name present/absent at the beginning, so the
# name can just change here.
- SystemModeEnum
FanControl:
- FanModeSequenceType
- FanModeType
Expand Down Expand Up @@ -3935,11 +3943,19 @@
- HeatingWithReheat
- CoolingAndHeating
- CoolingAndHeatingWithReheat
ThermostatRunningMode:
# ThermostatRunningModeEnum was originally named
# ThermostatRunningMode, but we generate the same API for the
# names with/without "Enum" at the end, so the name can just
# change here.
ThermostatRunningModeEnum:
- Off
- Cool
- Heat
ThermostatSystemMode:
# SystemModeEnum was originally named ThermostatSystemMode, but we
# generate the same API for the names with/without "Enum" at the
# end and the cluster name present/absent at the beginning, so the
# name can just change here.
SystemModeEnum:
- Off
- Auto
- Cool
Expand Down Expand Up @@ -5899,7 +5915,11 @@
ParameterEnum:
- Video
Thermostat:
ThermostatSystemMode:
# SystemModeEnum was originally named ThermostatSystemMode, but we
# generate the same API for the names with/without "Enum" at the
# end and the cluster name present/absent at the beginning, so the
# name can just change here.
SystemModeEnum:
- EmergencyHeat
- Dry
- Sleep
Expand Down Expand Up @@ -6319,7 +6339,11 @@
- PIXELS
- PERCENTAGE
Thermostat:
ThermostatSystemMode:
# SystemModeEnum was originally named ThermostatSystemMode, but we
# generate the same API for the names with/without "Enum" at the
# end and the cluster name present/absent at the beginning, so the
# name can just change here.
SystemModeEnum:
- EmergencyHeating
SetpointAdjustMode:
- HeatSetpoint
Expand Down Expand Up @@ -6715,7 +6739,11 @@
Pixels: PIXELS
Percentage: PERCENTAGE
Thermostat:
ThermostatSystemMode:
# SystemModeEnum was originally named ThermostatSystemMode, but we
# generate the same API for the names with/without "Enum" at the
# end and the cluster name present/absent at the beginning, so the
# name can just change here.
SystemModeEnum:
EmergencyHeat: EmergencyHeating
SetpointAdjustMode:
Heat: HeatSetpoint
Expand Down Expand Up @@ -7840,6 +7868,8 @@
RVCCleanMode:
- ModeTagStruct
- ModeOptionStruct
Thermostat:
- WeeklyScheduleTransitionStruct
struct fields:
RVCOperationalState:
OperationalStateStruct:
Expand All @@ -7865,6 +7895,11 @@
- label
- mode
- modeTags
Thermostat:
WeeklyScheduleTransitionStruct:
- transitionTime
- heatSetpoint
- coolSetpoint
events:
RVCOperationalState:
- OperationalError
Expand Down Expand Up @@ -7898,6 +7933,9 @@
RVCCleanMode:
- ModeTag
- StatusCode
Thermostat:
- ControlSequenceOfOperationEnum
- SetpointRaiseLowerModeEnum
enum values:
ContentLauncher:
StatusEnum:
Expand Down Expand Up @@ -8044,6 +8082,18 @@
- Mop
StatusCode:
- CleaningInProgress
Thermostat:
ControlSequenceOfOperationEnum:
- CoolingOnly
- CoolingWithReheat
- HeatingOnly
- HeatingWithReheat
- CoolingAndHeating
- CoolingAndHeatingWithReheat
SetpointRaiseLowerModeEnum:
- Heat
- Cool
- Both
bitmaps:
Scenes:
- CopyModeBitmap
Expand All @@ -8057,6 +8107,9 @@
- Feature
RVCCleanMode:
- Feature
Thermostat:
- ScheduleDayOfWeekBitmap
- ScheduleModeBitmap
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand Down Expand Up @@ -8084,7 +8137,23 @@
RVCCleanMode:
Feature:
- OnOff
Thermostat:
ScheduleDayOfWeekBitmap:
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Away
ScheduleModeBitmap:
- HeatSetpointPresent
- CoolSetpointPresent
deprecated:
structs:
Thermostat:
- ThermostatScheduleTransition
event fields:
WiFiNetworkDiagnostics:
AssociationFailure:
Expand All @@ -8094,6 +8163,9 @@
- ContentLaunchStatusEnum
KeypadInput:
- CecKeyCode
Thermostat:
- ThermostatControlSequence
- SetpointAdjustMode
enum values:
FanControl:
FanModeSequenceEnum:
Expand All @@ -8106,6 +8178,9 @@
- SupportedStreamingProtocol
LevelControl:
- LevelControlOptions
Thermostat:
- DayOfWeek
- ModeForSequence
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand Down Expand Up @@ -8177,13 +8252,31 @@
NetworkInfoStruct:
- networkIdentifier
- clientIdentifier
enums:
Thermostat:
# Targeting Spring 2024 Matter release
- StartOfWeekEnum
- TemperatureSetpointHoldEnum
- ACCapacityFormatEnum
- ACCompressorTypeEnum
- ACLouverPositionEnum
- ACRefrigerantTypeEnum
- ACTypeEnum
- SetpointChangeSourceEnum
bitmaps:
NetworkCommissioning:
# Targeting Spring 2024 Matter release
- ThreadCapabilitiesBitmap
Scenes:
# Targeting Spring 2024 Matter release
- NameSupportBitmap
Thermostat:
# Targeting Spring 2024 Matter release
- ACErrorCodeBitmap
- HVACSystemTypeBitmap
- ProgrammingOperationModeBitmap
- RelayStateBitmap
- RemoteSensingBitmap
bitmap values:
OnOff:
Feature:
Expand All @@ -8196,6 +8289,9 @@
WiFiSecurityBitmap:
- WPA3MatterPDC
renames:
structs:
Thermostat:
WeeklyScheduleTransitionStruct: ThermostatScheduleTransition
event fields:
WiFiNetworkDiagnostics:
AssociationFailure:
Expand All @@ -8205,6 +8301,9 @@
StatusEnum: ContentLaunchStatusEnum
KeypadInput:
CECKeyCodeEnum: CecKeyCode
Thermostat:
ControlSequenceOfOperationEnum: ThermostatControlSequence
SetpointRaiseLowerModeEnum: SetpointAdjustMode
enum values:
ContentLauncher:
# The URLNotAvailable value got renamed at the same time
Expand All @@ -8230,6 +8329,9 @@
SupportedProtocolsBitmap: SupportedStreamingProtocol
LevelControl:
OptionsBitmap: LevelControlOptions
Thermostat:
ScheduleDayOfWeekBitmap: DayOfWeek
ScheduleModeBitmap: ModeForSequence
bitmap values:
PumpConfigurationAndControl:
PumpStatusBitmap:
Expand Down
Loading

0 comments on commit 29740d9

Please sign in to comment.