Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Jul 13, 2024
1 parent ff2386b commit 1e5a2fd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to `@homebridge/hap-client` will be documented in this file. This project tries to adhere to [Semantic Versioning](http://semver.org/).

## BETA
## v2.0.0 (2024-07-13)

### Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@homebridge/hap-client",
"version": "1.10.2",
"version": "2.0.0",
"description": "A client for HAP-NodeJS.",
"main": "./dist/index.js",
"scripts": {
Expand Down
47 changes: 5 additions & 42 deletions src/hap-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,19 @@ export const Services = {
'Assistant': '0000026A-0000-1000-8000-0026BB765291',
'00000127-0000-1000-8000-0026BB765291': 'AudioStreamManagement',
'AudioStreamManagement': '00000127-0000-1000-8000-0026BB765291',
'00000096-0000-1000-8000-0026BB765291': 'BatteryService',
'BatteryService': '00000096-0000-1000-8000-0026BB765291',
'00000096-0000-1000-8000-0026BB765291': 'Battery',
'Battery': '00000096-0000-1000-8000-0026BB765291',
'000000A1-0000-1000-8000-0026BB765291': 'BridgeConfiguration',
'BridgeConfiguration': '000000A1-0000-1000-8000-0026BB765291',
'00000062-0000-1000-8000-0026BB765291': 'BridgingState',
'BridgingState': '00000062-0000-1000-8000-0026BB765291',
'00000111-0000-1000-8000-0026BB765291': 'CameraControl',
'CameraControl': '00000111-0000-1000-8000-0026BB765291',
'0000021A-0000-1000-8000-0026BB765291': 'CameraOperatingMode',
'CameraOperatingMode': '0000021A-0000-1000-8000-0026BB765291',
'00000204-0000-1000-8000-0026BB765291': 'CameraEventRecordingManagement',
'CameraEventRecordingManagement': '00000204-0000-1000-8000-0026BB765291',
'00000204-0000-1000-8000-0026BB765291': 'CameraRecordingManagement',
'CameraRecordingManagement': '00000204-0000-1000-8000-0026BB765291',
'00000110-0000-1000-8000-0026BB765291': 'CameraRTPStreamManagement',
'CameraRTPStreamManagement': '00000110-0000-1000-8000-0026BB765291',
'00000097-0000-1000-8000-0026BB765291': 'CarbonDioxideSensor',
'CarbonDioxideSensor': '00000097-0000-1000-8000-0026BB765291',
'0000007F-0000-1000-8000-0026BB765291': 'CarbonMonoxideSensor',
'CarbonMonoxideSensor': '0000007F-0000-1000-8000-0026BB765291',
'0000005A-0000-1000-8000-0026BB765291': 'Relay',
'Relay': '0000005A-0000-1000-8000-0026BB765291',
'0000005A-0000-1000-8000-0026BB765291': 'CloudRelay',
'CloudRelay': '0000005A-0000-1000-8000-0026BB765291',
'00000080-0000-1000-8000-0026BB765291': 'ContactSensor',
'ContactSensor': '00000080-0000-1000-8000-0026BB765291',
Expand Down Expand Up @@ -110,8 +101,7 @@ export const Services = {
'Siri': '00000133-0000-1000-8000-0026BB765291',
'00000253-0000-1000-8000-0026BB765291': 'SiriEndpoint',
'SiriEndpoint': '00000253-0000-1000-8000-0026BB765291',
'000000B9-0000-1000-8000-0026BB765291': 'Slat',
'Slat': '000000B9-0000-1000-8000-0026BB765291',
'000000B9-0000-1000-8000-0026BB765291': 'Slats',
'Slats': '000000B9-0000-1000-8000-0026BB765291',
'00000228-0000-1000-8000-0026BB765291': 'SmartSpeaker',
'SmartSpeaker': '00000228-0000-1000-8000-0026BB765291',
Expand Down Expand Up @@ -140,12 +130,9 @@ export const Services = {
'Thermostat': '0000004A-0000-1000-8000-0026BB765291',
'00000701-0000-1000-8000-0026BB765291': 'ThreadTransport',
'ThreadTransport': '00000701-0000-1000-8000-0026BB765291',
'00000099-0000-1000-8000-0026BB765291': 'TimeInformation',
'TimeInformation': '00000099-0000-1000-8000-0026BB765291',
'00000203-0000-1000-8000-0026BB765291': 'TransferTransportManagement',
'TransferTransportManagement': '00000203-0000-1000-8000-0026BB765291',
'00000056-0000-1000-8000-0026BB765291': 'TunneledBTLEAccessoryService',
'TunneledBTLEAccessoryService': '00000056-0000-1000-8000-0026BB765291',
'00000056-0000-1000-8000-0026BB765291': 'Tunnel',
'Tunnel': '00000056-0000-1000-8000-0026BB765291',
'000000D0-0000-1000-8000-0026BB765291': 'Valve',
'Valve': '000000D0-0000-1000-8000-0026BB765291',
Expand Down Expand Up @@ -214,8 +201,6 @@ export const Characteristics = {
'CarbonMonoxideLevel': '00000090-0000-1000-8000-0026BB765291',
'00000091-0000-1000-8000-0026BB765291': 'CarbonMonoxidePeakLevel',
'CarbonMonoxidePeakLevel': '00000091-0000-1000-8000-0026BB765291',
'000000A3-0000-1000-8000-0026BB765291': 'Category',
'Category': '000000A3-0000-1000-8000-0026BB765291',
'00000246-0000-1000-8000-0026BB765291': 'CCAEnergyDetectThreshold',
'CCAEnergyDetectThreshold': '00000246-0000-1000-8000-0026BB765291',
'00000245-0000-1000-8000-0026BB765291': 'CCASignalDetectThreshold',
Expand All @@ -232,10 +217,6 @@ export const Characteristics = {
'ColorTemperature': '000000CE-0000-1000-8000-0026BB765291',
'00000263-0000-1000-8000-0026BB765291': 'ConfigurationState',
'ConfigurationState': '00000263-0000-1000-8000-0026BB765291',
'000000A0-0000-1000-8000-0026BB765291': 'ConfigureBridgedAccessory',
'ConfigureBridgedAccessory': '000000A0-0000-1000-8000-0026BB765291',
'0000009D-0000-1000-8000-0026BB765291': 'ConfigureBridgedAccessoryStatus',
'ConfigureBridgedAccessoryStatus': '0000009D-0000-1000-8000-0026BB765291',
'000000E3-0000-1000-8000-0026BB765291': 'ConfiguredName',
'ConfiguredName': '000000E3-0000-1000-8000-0026BB765291',
'0000006A-0000-1000-8000-0026BB765291': 'ContactSensorState',
Expand Down Expand Up @@ -272,8 +253,6 @@ export const Characteristics = {
'CurrentTemperature': '00000011-0000-1000-8000-0026BB765291',
'000000C1-0000-1000-8000-0026BB765291': 'CurrentTiltAngle',
'CurrentTiltAngle': '000000C1-0000-1000-8000-0026BB765291',
'0000009B-0000-1000-8000-0026BB765291': 'CurrentTime',
'CurrentTime': '0000009B-0000-1000-8000-0026BB765291',
'0000022B-0000-1000-8000-0026BB765291': 'CurrentTransport',
'CurrentTransport': '0000022B-0000-1000-8000-0026BB765291',
'0000006E-0000-1000-8000-0026BB765291': 'CurrentVerticalTiltAngle',
Expand All @@ -284,16 +263,10 @@ export const Characteristics = {
'DataStreamHAPTransport': '00000138-0000-1000-8000-0026BB765291',
'00000139-0000-1000-8000-0026BB765291': 'DataStreamHAPTransportInterrupt',
'DataStreamHAPTransportInterrupt': '00000139-0000-1000-8000-0026BB765291',
'00000098-0000-1000-8000-0026BB765291': 'DayoftheWeek',
'DayoftheWeek': '00000098-0000-1000-8000-0026BB765291',
'00000224-0000-1000-8000-0026BB765291': 'DiagonalFieldOfView',
'DiagonalFieldOfView': '00000224-0000-1000-8000-0026BB765291',
'0000011D-0000-1000-8000-0026BB765291': 'DigitalZoom',
'DigitalZoom': '0000011D-0000-1000-8000-0026BB765291',
'0000009E-0000-1000-8000-0026BB765291': 'DiscoverBridgedAccessories',
'DiscoverBridgedAccessories': '0000009E-0000-1000-8000-0026BB765291',
'0000009F-0000-1000-8000-0026BB765291': 'DiscoveredBridgedAccessories',
'DiscoveredBridgedAccessories': '0000009F-0000-1000-8000-0026BB765291',
'00000136-0000-1000-8000-0026BB765291': 'DisplayOrder',
'DisplayOrder': '00000136-0000-1000-8000-0026BB765291',
'0000023D-0000-1000-8000-0026BB765291': 'EventRetransmissionMaximum',
Expand Down Expand Up @@ -344,8 +317,6 @@ export const Characteristics = {
'IsConfigured': '000000D6-0000-1000-8000-0026BB765291',
'00000070-0000-1000-8000-0026BB765291': 'LeakDetected',
'LeakDetected': '00000070-0000-1000-8000-0026BB765291',
'0000009C-0000-1000-8000-0026BB765291': 'LinkQuality',
'LinkQuality': '0000009C-0000-1000-8000-0026BB765291',
'00000050-0000-1000-8000-0026BB765291': 'ListPairings',
'ListPairings': '00000050-0000-1000-8000-0026BB765291',
'00000019-0000-1000-8000-0026BB765291': 'LockControlPoint',
Expand Down Expand Up @@ -444,8 +415,6 @@ export const Characteristics = {
'ProgrammableSwitchOutputState': '00000074-0000-1000-8000-0026BB765291',
'000000D1-0000-1000-8000-0026BB765291': 'ProgramMode',
'ProgramMode': '000000D1-0000-1000-8000-0026BB765291',
'00000063-0000-1000-8000-0026BB765291': 'Reachable',
'Reachable': '00000063-0000-1000-8000-0026BB765291',
'0000023F-0000-1000-8000-0026BB765291': 'ReceivedSignalStrengthIndication',
'ReceivedSignalStrengthIndication': '0000023F-0000-1000-8000-0026BB765291',
'00000244-0000-1000-8000-0026BB765291': 'ReceiverSensitivity',
Expand Down Expand Up @@ -586,8 +555,6 @@ export const Characteristics = {
'TapType': '0000022F-0000-1000-8000-0026BB765291',
'000000A8-0000-1000-8000-0026BB765291': 'TargetAirPurifierState',
'TargetAirPurifierState': '000000A8-0000-1000-8000-0026BB765291',
'000000AE-0000-1000-8000-0026BB765291': 'TargetAirQuality',
'TargetAirQuality': '000000AE-0000-1000-8000-0026BB765291',
'00000124-0000-1000-8000-0026BB765291': 'TargetControlList',
'TargetControlList': '00000124-0000-1000-8000-0026BB765291',
'00000123-0000-1000-8000-0026BB765291': 'TargetControlSupportedConfiguration',
Expand All @@ -610,8 +577,6 @@ export const Characteristics = {
'TargetPosition': '0000007C-0000-1000-8000-0026BB765291',
'00000034-0000-1000-8000-0026BB765291': 'TargetRelativeHumidity',
'TargetRelativeHumidity': '00000034-0000-1000-8000-0026BB765291',
'000000BE-0000-1000-8000-0026BB765291': 'TargetSlatState',
'TargetSlatState': '000000BE-0000-1000-8000-0026BB765291',
'00000035-0000-1000-8000-0026BB765291': 'TargetTemperature',
'TargetTemperature': '00000035-0000-1000-8000-0026BB765291',
'000000C2-0000-1000-8000-0026BB765291': 'TargetTiltAngle',
Expand All @@ -632,8 +597,6 @@ export const Characteristics = {
'ThreadOpenThreadVersion': '00000706-0000-1000-8000-0026BB765291',
'00000703-0000-1000-8000-0026BB765291': 'ThreadStatus',
'ThreadStatus': '00000703-0000-1000-8000-0026BB765291',
'0000009A-0000-1000-8000-0026BB765291': 'TimeUpdate',
'TimeUpdate': '0000009A-0000-1000-8000-0026BB765291',
'00000231-0000-1000-8000-0026BB765291': 'Token',
'Token': '00000231-0000-1000-8000-0026BB765291',
'00000242-0000-1000-8000-0026BB765291': 'TransmitPower',
Expand Down

0 comments on commit 1e5a2fd

Please sign in to comment.