homebridge-gsh 4.0.2 → 4.0.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -2
- package/config.schema.json +1 -1
- package/dist/hap.d.ts +7 -0
- package/dist/hap.js +34 -12
- package/dist/hap.js.map +1 -1
- package/dist/hap.spec.js +184 -109
- package/dist/hap.spec.js.map +1 -1
- package/dist/types/contact-sensor.d.ts +8 -0
- package/dist/types/contact-sensor.js +46 -0
- package/dist/types/contact-sensor.js.map +1 -0
- package/dist/types/contact-sensor.spec.d.ts +1 -0
- package/dist/types/contact-sensor.spec.js +177 -0
- package/dist/types/contact-sensor.spec.js.map +1 -0
- package/dist/types/occupancy-sensor.d.ts +8 -0
- package/dist/types/occupancy-sensor.js +46 -0
- package/dist/types/occupancy-sensor.js.map +1 -0
- package/dist/types/occupancy-sensor.spec.d.ts +1 -0
- package/dist/types/occupancy-sensor.spec.js +175 -0
- package/dist/types/occupancy-sensor.spec.js.map +1 -0
- package/dist/types/television.d.ts +5 -4
- package/dist/types/television.js +258 -4
- package/dist/types/television.js.map +1 -1
- package/dist/types/television.spec.js +35 -2
- package/dist/types/television.spec.js.map +1 -1
- package/node_modules/@homebridge/hap-client/CHANGELOG.md +7 -0
- package/node_modules/@homebridge/hap-client/dist/index.js +1 -0
- package/node_modules/@homebridge/hap-client/dist/index.js.map +1 -1
- package/node_modules/@homebridge/hap-client/dist/interfaces.d.ts +2 -0
- package/node_modules/@homebridge/hap-client/package.json +10 -10
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/CHANGELOG.md +27 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/README.md +5 -5
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/dist/axios.js +32 -16
- package/node_modules/axios/dist/axios.js.map +1 -0
- package/node_modules/axios/dist/axios.min.js +3 -0
- package/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/dist/browser/axios.cjs +31 -13
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/dist/esm/axios.js +31 -13
- package/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/dist/node/axios.cjs +32 -14
- package/node_modules/axios/dist/node/axios.cjs.map +1 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/index.d.cts +2 -2
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/index.d.ts +4 -2
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/adapters/fetch.js +1 -1
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/Axios.js +1 -1
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/formDataToStream.js +1 -1
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/utils.js +12 -6
- package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/package.json +4 -4
- package/node_modules/{@homebridge/hap-client/node_modules/form-data/Readme.md → form-data/README.md.bak} +30 -33
- package/node_modules/form-data/Readme.md +355 -0
- package/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/{@homebridge/hap-client/node_modules/form-data → form-data}/lib/form_data.js +124 -129
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/{@homebridge/hap-client/node_modules/form-data → form-data}/package.json +7 -15
- package/package.json +5 -5
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/axios.js.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/axios.min.js +0 -3
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/browser/axios.cjs.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/esm/axios.js.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/esm/axios.min.js +0 -3
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/dist/node/axios.cjs.map +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/axios/lib/env/data.js +0 -1
- package/node_modules/@homebridge/hap-client/node_modules/form-data/lib/browser.js +0 -2
- package/node_modules/@homebridge/hap-client/node_modules/form-data/lib/populate.js +0 -10
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/Readme.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/index.cjs +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/index.mjs +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/@leichtgewicht → @leichtgewicht}/ip-codec/types/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/bench.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/abort.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/async.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/defer.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/iterate.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/readable_asynckit.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/readable_parallel.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/readable_serial.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/readable_serial_ordered.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/state.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/streamify.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/lib/terminator.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/parallel.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/serial.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/serialOrdered.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/asynckit → asynckit}/stream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/MIGRATION_GUIDE.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/adapters/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/adapters/adapters.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/adapters/http.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/adapters/xhr.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/axios.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/cancel/CancelToken.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/cancel/CanceledError.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/cancel/isCancel.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/AxiosError.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/InterceptorManager.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/buildFullPath.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/dispatchRequest.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/mergeConfig.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/settle.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/core/transformData.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/defaults/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/defaults/transitional.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/env/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/env/classes/FormData.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/AxiosTransformStream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/HttpStatusCode.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/ZlibHeaderTransformStream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/bind.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/buildURL.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/callbackify.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/combineURLs.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/composeSignals.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/cookies.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/deprecatedMethod.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/formDataToJSON.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/fromDataURI.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/isAbsoluteURL.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/isAxiosError.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/isURLSameOrigin.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/null.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/parseHeaders.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/parseProtocol.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/progressEventReducer.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/readBlob.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/resolveConfig.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/speedometer.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/spread.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/throttle.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/toFormData.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/toURLEncodedForm.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/trackStream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/helpers/validator.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/browser/classes/Blob.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/browser/classes/FormData.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/browser/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/common/utils.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/node/classes/FormData.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/node/classes/URLSearchParams.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/axios → axios}/lib/platform/node/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/actualApply.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/applyBind.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionApply.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/functionCall.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/reflectApply.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/call-bind-apply-helpers → call-bind-apply-helpers}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/combined-stream → combined-stream}/License +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/combined-stream → combined-stream}/Readme.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/combined-stream → combined-stream}/lib/combined_stream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/combined-stream → combined-stream}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/.npmignore +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/License +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/Makefile +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/Readme.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/lib/delayed_stream.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/delayed-stream → delayed-stream}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/classes.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/opcodes.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/optioncodes.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/rcodes.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dns-packet → dns-packet}/types.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/get.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/get.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/set.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/set.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/test/get.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/test/set.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/dunder-proto → dunder-proto}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-define-property → es-define-property}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/eval.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/eval.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/range.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/range.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/ref.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/ref.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/syntax.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/syntax.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/type.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/type.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/uri.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-errors → es-errors}/uri.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/RequireObjectCoercible.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/ToObject.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/ToObject.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/isObject.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/isObject.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-object-atoms → es-object-atoms}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/es-set-tostringtag → es-set-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/debug.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/http.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/https.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/follow-redirects → follow-redirects}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/form-data → form-data}/License +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/form-data → form-data}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/.github/SECURITY.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/implementation.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/test/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/function-bind → function-bind}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-intrinsic → get-intrinsic}/test/GetIntrinsic.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/Object.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/Object.getPrototypeOf.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/Reflect.getPrototypeOf.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/get-proto → get-proto}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/gOPD.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/gOPD.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/gopd → gopd}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/shams.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/shams.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/test/shams/core-js.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/test/tests.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-symbols → has-symbols}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/shams.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/shams.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/test/shams/core-js.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/test/shams/get-own-property-symbols.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/test/tests.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/has-tostringtag → has-tostringtag}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/.nycrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/index.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/hasown → hasown}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/.github/FUNDING.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/CHANGELOG.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/abs.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/abs.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxArrayLength.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxSafeInteger.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/constants/maxValue.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/floor.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/floor.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isFinite.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isFinite.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isInteger.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isInteger.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isNaN.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isNaN.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/isNegativeZero.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/max.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/max.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/min.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/min.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/mod.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/mod.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/pow.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/pow.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/round.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/round.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/sign.d.ts +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/sign.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/test/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/math-intrinsics → math-intrinsics}/tsconfig.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/HISTORY.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/db.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-db → mime-db}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-types → mime-types}/HISTORY.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-types → mime-types}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-types → mime-types}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-types → mime-types}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/mime-types → mime-types}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/.travis.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/appveyor.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/cli.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/example.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/multicast-dns → multicast-dns}/test.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/.eslintrc +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/.travis.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/proxy-from-env → proxy-from-env}/test.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/.travis.yml +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/LICENSE +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/README.md +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/index.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/package.json +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/promise.js +0 -0
- /package/node_modules/{@homebridge/hap-client/node_modules/thunky → thunky}/test.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `homebridge-gsh` will be documented in this file. This project tries to adhere to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
-
## v4.0.2 (2025-06-
|
|
5
|
+
## v4.0.2 (2025-06-06)
|
|
6
6
|
|
|
7
7
|
### Changes
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Implement channel/input selection of Television device #22, tks @banboobee
|
|
10
|
+
- Implemented regular expression searching for accessoryFilter #23, tks @banboobee
|
|
11
|
+
|
|
12
|
+
### Fixes
|
|
13
|
+
|
|
14
|
+
-
|
|
10
15
|
|
|
11
16
|
## v4.0.1 (2025-06-06)
|
|
12
17
|
|
package/config.schema.json
CHANGED
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"type": "help",
|
|
154
|
-
"helpvalue": "<h5><B>Accessory Filter - by name</b></h5><em class='primary-text'>Enter the names (as displayed in the Google Home app) of the accessories you don't want to control from the Google Assistant.</em>"
|
|
154
|
+
"helpvalue": "<h5><B>Accessory Filter - by name</b></h5><em class='primary-text'>Enter the names (as displayed in the Google Home app) of the accessories you don't want to control from the Google Assistant. Also accepts regular expressions as a name.</em>"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"nodescription": true,
|
package/dist/hap.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ import { LockMechanism } from './types/lock-mechanism';
|
|
|
14
14
|
import { SecuritySystem } from './types/security-system';
|
|
15
15
|
import { Switch } from './types/switch';
|
|
16
16
|
import { Television } from './types/television';
|
|
17
|
+
import { ContactSensor } from './types/contact-sensor';
|
|
18
|
+
import { OccupancySensor } from './types/occupancy-sensor';
|
|
17
19
|
import { TemperatureSensor } from './types/temperature-sensor';
|
|
18
20
|
import { Thermostat } from './types/thermostat';
|
|
19
21
|
import { Window } from './types/window';
|
|
@@ -32,6 +34,7 @@ export declare class Hap {
|
|
|
32
34
|
private configDiscoveryTimeout;
|
|
33
35
|
private configDiscoveryWait;
|
|
34
36
|
ready: boolean;
|
|
37
|
+
private dummy;
|
|
35
38
|
types: {
|
|
36
39
|
Door: Door;
|
|
37
40
|
Fan: Fan;
|
|
@@ -49,6 +52,10 @@ export declare class Hap {
|
|
|
49
52
|
Thermostat: Thermostat;
|
|
50
53
|
Window: Window;
|
|
51
54
|
WindowCovering: WindowCovering;
|
|
55
|
+
Speaker: () => void;
|
|
56
|
+
InputSource: () => void;
|
|
57
|
+
ContactSensor: ContactSensor;
|
|
58
|
+
OccupancySensor: OccupancySensor;
|
|
52
59
|
};
|
|
53
60
|
reportStateSubject: Subject<unknown>;
|
|
54
61
|
pendingStateReport: any[];
|
package/dist/hap.js
CHANGED
|
@@ -50,6 +50,8 @@ const lock_mechanism_1 = require("./types/lock-mechanism");
|
|
|
50
50
|
const security_system_1 = require("./types/security-system");
|
|
51
51
|
const switch_1 = require("./types/switch");
|
|
52
52
|
const television_1 = require("./types/television");
|
|
53
|
+
const contact_sensor_1 = require("./types/contact-sensor");
|
|
54
|
+
const occupancy_sensor_1 = require("./types/occupancy-sensor");
|
|
53
55
|
const temperature_sensor_1 = require("./types/temperature-sensor");
|
|
54
56
|
const thermostat_1 = require("./types/thermostat");
|
|
55
57
|
const window_1 = require("./types/window");
|
|
@@ -57,6 +59,7 @@ const window_covering_1 = require("./types/window-covering");
|
|
|
57
59
|
class Hap {
|
|
58
60
|
constructor(socket, log, pin, config, api) {
|
|
59
61
|
this.services = [];
|
|
62
|
+
this.dummy = () => { };
|
|
60
63
|
this.types = {
|
|
61
64
|
Door: new door_1.Door(),
|
|
62
65
|
Fan: new fan_1.Fan(),
|
|
@@ -69,11 +72,15 @@ class Hap {
|
|
|
69
72
|
Outlet: new switch_1.Switch('action.devices.types.OUTLET'),
|
|
70
73
|
SecuritySystem: new security_system_1.SecuritySystem(),
|
|
71
74
|
Switch: new switch_1.Switch('action.devices.types.SWITCH'),
|
|
72
|
-
Television: new television_1.Television(),
|
|
75
|
+
Television: new television_1.Television(this),
|
|
73
76
|
TemperatureSensor: new temperature_sensor_1.TemperatureSensor(this),
|
|
74
77
|
Thermostat: new thermostat_1.Thermostat(this),
|
|
75
78
|
Window: new window_1.Window(),
|
|
76
79
|
WindowCovering: new window_covering_1.WindowCovering(),
|
|
80
|
+
Speaker: this.dummy,
|
|
81
|
+
InputSource: this.dummy,
|
|
82
|
+
ContactSensor: new contact_sensor_1.ContactSensor(),
|
|
83
|
+
OccupancySensor: new occupancy_sensor_1.OccupancySensor(),
|
|
77
84
|
};
|
|
78
85
|
this.reportStateSubject = new rxjs_1.Subject();
|
|
79
86
|
this.pendingStateReport = [];
|
|
@@ -97,6 +104,10 @@ class Hap {
|
|
|
97
104
|
hap_types_1.Characteristic.CurrentRelativeHumidity,
|
|
98
105
|
hap_types_1.Characteristic.SecuritySystemTargetState,
|
|
99
106
|
hap_types_1.Characteristic.SecuritySystemCurrentState,
|
|
107
|
+
hap_types_1.Characteristic.ActiveIdentifier,
|
|
108
|
+
hap_types_1.Characteristic.Mute,
|
|
109
|
+
hap_types_1.Characteristic.ContactSensorState,
|
|
110
|
+
hap_types_1.Characteristic.OccupancyDetected,
|
|
100
111
|
];
|
|
101
112
|
this.instanceBlacklist = [];
|
|
102
113
|
this.accessoryFilter = [];
|
|
@@ -172,10 +183,7 @@ class Hap {
|
|
|
172
183
|
}
|
|
173
184
|
buildSyncResponse() {
|
|
174
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
const devices = this.services.map((service) => {
|
|
176
|
-
if (!this.types[service.type]) {
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
186
|
+
const devices = this.services.filter((service) => { var _a, _b; return (_b = (_a = this.types) === null || _a === void 0 ? void 0 : _a[service.type]) === null || _b === void 0 ? void 0 : _b.sync; }).map((service) => {
|
|
179
187
|
return this.types[service.type].sync(service);
|
|
180
188
|
});
|
|
181
189
|
return devices;
|
|
@@ -216,7 +224,7 @@ class Hap {
|
|
|
216
224
|
for (const command of commands) {
|
|
217
225
|
for (const device of command.devices) {
|
|
218
226
|
const service = this.services.find(x => x.uniqueId === device.id);
|
|
219
|
-
this.log.debug(`Processing command ${command.execution[0].command} for ${device.id} and ${service}`);
|
|
227
|
+
this.log.debug(`Processing command ${command.execution[0].command} for ${device.id} and ${service.serviceName}`);
|
|
220
228
|
if (service) {
|
|
221
229
|
if (this.config.twoFactorAuthPin && this.types[service.type].twoFactorRequired
|
|
222
230
|
&& this.types[service.type].is2faRequired(command)
|
|
@@ -284,11 +292,24 @@ class Hap {
|
|
|
284
292
|
}
|
|
285
293
|
services = services.filter(x => this.types[x.type] !== undefined);
|
|
286
294
|
this.log.debug(`Loaded ${services.length} accessories from Homebridge - pre filter`);
|
|
295
|
+
services = services.filter(x => !this.instanceBlacklist.find(y => { var _a; return y === ((_a = x === null || x === void 0 ? void 0 : x.instance) === null || _a === void 0 ? void 0 : _a.username); }));
|
|
296
|
+
const compiledAccessoryFilter = this.accessoryFilter.map(filter => new RegExp(filter));
|
|
297
|
+
const searchList = (target, regexList) => {
|
|
298
|
+
if (target) {
|
|
299
|
+
for (const regex of regexList) {
|
|
300
|
+
if (regex.test(target)) {
|
|
301
|
+
this.log.debug(`${this.accessoryFilterInverse ? 'Including' : 'Skipping'} service '${target}' - matches accessoryFilter '${regex}'`);
|
|
302
|
+
return true;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
return false;
|
|
307
|
+
};
|
|
287
308
|
if (this.accessoryFilterInverse) {
|
|
288
|
-
services = services.filter(x =>
|
|
309
|
+
services = services.filter(x => searchList(x.serviceName, compiledAccessoryFilter));
|
|
289
310
|
}
|
|
290
311
|
else {
|
|
291
|
-
services = services.filter(x => !
|
|
312
|
+
services = services.filter(x => !searchList(x.serviceName, compiledAccessoryFilter));
|
|
292
313
|
}
|
|
293
314
|
services = services.filter(x => !this.accessorySerialFilter.includes(x.accessoryInformation['Serial Number']));
|
|
294
315
|
services = services.filter(x => {
|
|
@@ -337,9 +358,13 @@ class Hap {
|
|
|
337
358
|
}
|
|
338
359
|
processPendingStateReports(pendingStateReport) {
|
|
339
360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
361
|
+
var _a, _b;
|
|
340
362
|
const states = {};
|
|
341
363
|
for (const uniqueId of pendingStateReport) {
|
|
342
364
|
const service = this.services.find(x => x.uniqueId === uniqueId);
|
|
365
|
+
if (!((_b = (_a = this.types) === null || _a === void 0 ? void 0 : _a[service.type]) === null || _b === void 0 ? void 0 : _b.query)) {
|
|
366
|
+
continue;
|
|
367
|
+
}
|
|
343
368
|
states[service.uniqueId] = this.types[service.type].query(service);
|
|
344
369
|
}
|
|
345
370
|
return yield this.sendStateReport(states);
|
|
@@ -351,10 +376,7 @@ class Hap {
|
|
|
351
376
|
if (!this.services.length) {
|
|
352
377
|
return;
|
|
353
378
|
}
|
|
354
|
-
this.services.map((service) => {
|
|
355
|
-
if (!this.types[service.type]) {
|
|
356
|
-
return;
|
|
357
|
-
}
|
|
379
|
+
this.services.filter((service) => { var _a, _b; return (_b = (_a = this.types) === null || _a === void 0 ? void 0 : _a[service.type]) === null || _b === void 0 ? void 0 : _b.query; }).map((service) => {
|
|
358
380
|
return states[service.uniqueId] = this.types[service.type].query(service);
|
|
359
381
|
});
|
|
360
382
|
return yield this.sendStateReport(states);
|
package/dist/hap.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hap.js","sourceRoot":"","sources":["../src/hap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAgE;AAEhE,uCAAyB;AACzB,+BAA+B;AAC/B,8CAAmD;AACnD,2CAA6C;AAI7C,uCAAoC;AAGpC,6CAAyC;AACzC,qCAAkC;AAClC,2CAAuC;AACvC,mEAA8D;AAC9D,yDAAqD;AACrD,6DAAyD;AACzD,iDAA8C;AAC9C,2DAAuD;AACvD,6DAAyD;AACzD,2CAAwC;AACxC,mDAAgD;AAChD,mEAA+D;AAC/D,mDAAgD;AAChD,2CAAwC;AACxC,6DAAyD;AAEzD,MAAa,GAAG;IAuEd,YAAY,MAAM,EAAE,GAAG,EAAE,GAAW,EAAE,MAAoB,EAAE,GAAG;QAjE/D,aAAQ,GAAkB,EAAE,CAAC;QAW7B,UAAK,GAAG;YACN,IAAI,EAAE,IAAI,WAAI,EAAE;YAChB,GAAG,EAAE,IAAI,SAAG,EAAE;YACd,KAAK,EAAE,IAAI,cAAK,EAAE;YAClB,gBAAgB,EAAE,IAAI,qCAAgB,EAAE;YACxC,YAAY,EAAE,IAAI,4BAAY,CAAC,IAAI,CAAC;YACpC,cAAc,EAAE,IAAI,gCAAc,EAAE;YACpC,SAAS,EAAE,IAAI,qBAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,8BAAa,EAAE;YAClC,MAAM,EAAE,IAAI,eAAM,CAA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;gBACtB,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAClC,CAAC;YACD,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBAC1B,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACtC,CAAC;YACD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;gBACrB,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACjC,CAAC;YACD,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;gBACnB,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;YAC3B,CAAC;QACH,CAAC;KAAA;CACF;AAhcD,kBAgcC"}
|
package/dist/hap.spec.js
CHANGED
|
@@ -8,11 +8,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
15
|
const globals_1 = require("@jest/globals");
|
|
16
|
+
const fs_1 = __importDefault(require("fs"));
|
|
13
17
|
const ts_expect_1 = require("ts-expect");
|
|
14
18
|
const hap_1 = require("./hap");
|
|
15
19
|
const logger_1 = require("./logger");
|
|
20
|
+
const trace = false;
|
|
16
21
|
class socketMock {
|
|
17
22
|
on(event, callback) {
|
|
18
23
|
if (event === 'websocket-status') {
|
|
@@ -26,126 +31,196 @@ class socketMock {
|
|
|
26
31
|
console.log('sendJson', data);
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
|
-
const config = {
|
|
30
|
-
name: 'Google Smart Home',
|
|
31
|
-
token: '1234567890',
|
|
32
|
-
notice: 'Keep your token a secret!',
|
|
33
|
-
debug: false,
|
|
34
|
-
platform: 'google-smarthome',
|
|
35
|
-
twoFactorAuthPin: '1234',
|
|
36
|
-
accessoryFilter: [
|
|
37
|
-
'West Bedroom',
|
|
38
|
-
'Wasaga',
|
|
39
|
-
'Garage Door',
|
|
40
|
-
],
|
|
41
|
-
accessoryFilterInverse: true,
|
|
42
|
-
};
|
|
43
|
-
const log = new logger_1.Log(console, true);
|
|
44
|
-
const hap = new hap_1.Hap(socketMock, log, '031-45-154', config, {});
|
|
45
34
|
(0, globals_1.describe)('hap', () => {
|
|
46
|
-
(0, globals_1.describe)('
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
35
|
+
(0, globals_1.describe)('name filter', () => {
|
|
36
|
+
const config = {
|
|
37
|
+
name: 'Google Smart Home',
|
|
38
|
+
token: '1234567890',
|
|
39
|
+
notice: 'Keep your token a secret!',
|
|
40
|
+
debug: false,
|
|
41
|
+
platform: 'google-smarthome',
|
|
42
|
+
twoFactorAuthPin: '1234',
|
|
43
|
+
accessoryFilter: [
|
|
44
|
+
'West Bedroom',
|
|
45
|
+
'Wasaga',
|
|
46
|
+
'Garage Door',
|
|
47
|
+
],
|
|
48
|
+
accessoryFilterInverse: true,
|
|
49
|
+
};
|
|
50
|
+
const log = new logger_1.Log(console, true);
|
|
51
|
+
const hap = new hap_1.Hap(socketMock, log, '031-45-154', config, {});
|
|
52
|
+
(0, globals_1.describe)('process the QUERY intent', () => {
|
|
53
|
+
test('wait for HAP to be Ready', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
54
|
+
while (!hap.ready) {
|
|
55
|
+
yield sleep(500);
|
|
56
|
+
}
|
|
59
57
|
}), 30000);
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
(0, globals_1.describe)('QUERY message with delay to allow manual testing', () => {
|
|
59
|
+
test('lightbulb with On/Off only', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
60
|
+
const response = yield hap.query(query);
|
|
61
|
+
}));
|
|
62
|
+
test('sleeping', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
63
|
+
yield sleep(5000);
|
|
64
|
+
}), 30000);
|
|
65
|
+
test('lightbulb with On/Off only', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
66
|
+
const response = yield hap.query(query);
|
|
67
|
+
}));
|
|
68
|
+
test('sleeping', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
69
|
+
yield sleep(5000);
|
|
70
|
+
}), 30000);
|
|
71
|
+
test('lightbulb with On/Off only', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
72
|
+
const response = yield hap.query(query);
|
|
73
|
+
}));
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
(0, globals_1.describe)('process the SYNC intent', () => {
|
|
77
|
+
test('Wait for HAP to be Ready', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
78
|
+
while (!hap.ready) {
|
|
79
|
+
yield sleep(500);
|
|
80
|
+
}
|
|
81
|
+
console.log('hap ready, testing started');
|
|
82
|
+
}), 30000);
|
|
83
|
+
(0, globals_1.describe)('SYNC', () => {
|
|
84
|
+
test('Sync Response is proper and filtered', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
85
|
+
const response = yield hap.buildSyncResponse();
|
|
86
|
+
(0, ts_expect_1.expectType)(response);
|
|
87
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
88
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
89
|
+
(0, globals_1.expect)(response).toHaveLength(4);
|
|
90
|
+
const expectedNames = [
|
|
91
|
+
'East Bedroom',
|
|
92
|
+
'East Bedroom Fan',
|
|
93
|
+
'Garage Door',
|
|
94
|
+
'Wasaga',
|
|
95
|
+
];
|
|
96
|
+
const actualNames = response.map(device => device.name.name);
|
|
97
|
+
(0, globals_1.expect)(actualNames).toEqual(expectedNames);
|
|
98
|
+
if (trace) {
|
|
99
|
+
fs_1.default.writeFileSync('buildSyncResponse.json', JSON.stringify(response, null, 2), 'utf8');
|
|
100
|
+
}
|
|
101
|
+
}));
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
(0, globals_1.describe)('execute', () => {
|
|
105
|
+
test('Wait for HAP to be Ready', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
106
|
+
while (!hap.ready) {
|
|
107
|
+
yield sleep(500);
|
|
108
|
+
}
|
|
109
|
+
console.log('hap ready, testing started');
|
|
65
110
|
}), 30000);
|
|
66
|
-
test('
|
|
67
|
-
const response = yield hap.
|
|
111
|
+
test('Turn Off Light', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
112
|
+
const response = yield hap.execute([executeLightOff]);
|
|
113
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
114
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
115
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
116
|
+
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
68
117
|
}));
|
|
69
118
|
});
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
(0,
|
|
119
|
+
(0, globals_1.describe)('Garage Door 2fa and PIN Code', () => {
|
|
120
|
+
test('Close - 2fa not Required', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
121
|
+
const response = yield hap.execute([executeGarageClose]);
|
|
122
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
123
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
124
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
125
|
+
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
126
|
+
}));
|
|
127
|
+
test('Open - 2fa Required - No Pin', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
128
|
+
const response = yield hap.execute([executeGarageOpen]);
|
|
129
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
130
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
131
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
132
|
+
(0, globals_1.expect)(response[0].status).toBe('ERROR');
|
|
133
|
+
(0, globals_1.expect)(response[0].errorCode).toBe('challengeNeeded');
|
|
134
|
+
(0, globals_1.expect)(response[0].challengeNeeded).toBeDefined();
|
|
135
|
+
(0, globals_1.expect)(response[0].challengeNeeded.type).toBeDefined();
|
|
136
|
+
(0, globals_1.expect)(response[0].challengeNeeded.type).toBe('pinNeeded');
|
|
82
137
|
}));
|
|
138
|
+
test('Open - 2fa Required - incorrect PIN', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
139
|
+
const response = yield hap.execute([executeGarageDoorOpenWithIncorrectPin]);
|
|
140
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
141
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
142
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
143
|
+
(0, globals_1.expect)(response[0].status).toBe('ERROR');
|
|
144
|
+
(0, globals_1.expect)(response[0].errorCode).toBe('challengeNeeded');
|
|
145
|
+
(0, globals_1.expect)(response[0].challengeNeeded).toBeDefined();
|
|
146
|
+
(0, globals_1.expect)(response[0].challengeNeeded.type).toBeDefined();
|
|
147
|
+
(0, globals_1.expect)(response[0].challengeNeeded.type).toBe('pinNeeded');
|
|
148
|
+
}));
|
|
149
|
+
test.skip('Open - 2fa Required - correct PIN', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
150
|
+
const response = yield hap.execute([executeGarageDoorOpenWithCorrectPin]);
|
|
151
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
152
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
153
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
154
|
+
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
155
|
+
}));
|
|
156
|
+
test('Close - 2fa not Required', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
157
|
+
const response = yield hap.execute([executeGarageClose]);
|
|
158
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
159
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
160
|
+
(0, globals_1.expect)(response).toHaveLength(1);
|
|
161
|
+
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
162
|
+
}), 10000);
|
|
83
163
|
});
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
while (!hap.ready) {
|
|
88
|
-
yield sleep(500);
|
|
89
|
-
}
|
|
90
|
-
console.log('hap ready, testing started');
|
|
91
|
-
}), 30000);
|
|
92
|
-
test('Turn Off Light', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
93
|
-
const response = yield hap.execute([executeLightOff]);
|
|
94
|
-
(0, globals_1.expect)(response).toBeDefined();
|
|
95
|
-
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
96
|
-
(0, globals_1.expect)(response).toHaveLength(1);
|
|
97
|
-
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
164
|
+
afterAll(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
165
|
+
console.log('destroy');
|
|
166
|
+
yield hap.destroy();
|
|
98
167
|
}));
|
|
99
168
|
});
|
|
100
|
-
(0, globals_1.describe)('
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
(
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
(
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
169
|
+
(0, globals_1.describe)('reg exp filter', () => {
|
|
170
|
+
const config = {
|
|
171
|
+
name: 'Google Smart Home',
|
|
172
|
+
token: '1234567890',
|
|
173
|
+
notice: 'Keep your token a secret!',
|
|
174
|
+
debug: false,
|
|
175
|
+
platform: 'google-smarthome',
|
|
176
|
+
twoFactorAuthPin: '1234',
|
|
177
|
+
accessoryFilter: [
|
|
178
|
+
'Bedroom',
|
|
179
|
+
],
|
|
180
|
+
accessoryFilterInverse: true,
|
|
181
|
+
};
|
|
182
|
+
const log = new logger_1.Log(console, true);
|
|
183
|
+
const hap = new hap_1.Hap(socketMock, log, '031-45-154', config, {});
|
|
184
|
+
(0, globals_1.describe)('process the QUERY intent', () => {
|
|
185
|
+
test('wait for HAP to be Ready', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
186
|
+
while (!hap.ready) {
|
|
187
|
+
yield sleep(500);
|
|
188
|
+
}
|
|
189
|
+
}), 30000);
|
|
190
|
+
});
|
|
191
|
+
(0, globals_1.describe)('process the SYNC intent', () => {
|
|
192
|
+
test('Wait for HAP to be Ready', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
193
|
+
while (!hap.ready) {
|
|
194
|
+
yield sleep(500);
|
|
195
|
+
}
|
|
196
|
+
console.log('hap ready, testing started');
|
|
197
|
+
}), 30000);
|
|
198
|
+
(0, globals_1.describe)('SYNC Response', () => {
|
|
199
|
+
test('Sync Response is proper and filtered', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
200
|
+
const response = yield hap.buildSyncResponse();
|
|
201
|
+
(0, ts_expect_1.expectType)(response);
|
|
202
|
+
(0, globals_1.expect)(response).toBeDefined();
|
|
203
|
+
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
204
|
+
(0, globals_1.expect)(response).toHaveLength(4);
|
|
205
|
+
const expectedNames = [
|
|
206
|
+
'East Bedroom',
|
|
207
|
+
'East Bedroom Fan',
|
|
208
|
+
'West Bedroom',
|
|
209
|
+
'West Bedroom Fan',
|
|
210
|
+
];
|
|
211
|
+
const actualNames = response.map(device => device.name.name);
|
|
212
|
+
(0, globals_1.expect)(actualNames).toEqual(expectedNames);
|
|
213
|
+
if (trace) {
|
|
214
|
+
fs_1.default.writeFileSync('buildSyncResponse.json', JSON.stringify(response, null, 2), 'utf8');
|
|
215
|
+
}
|
|
216
|
+
}));
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
afterAll(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
220
|
+
console.log('destroy');
|
|
221
|
+
yield hap.destroy();
|
|
136
222
|
}));
|
|
137
|
-
test('Close - 2fa not Required', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
138
|
-
const response = yield hap.execute([executeGarageClose]);
|
|
139
|
-
(0, globals_1.expect)(response).toBeDefined();
|
|
140
|
-
(0, globals_1.expect)(response).toBeInstanceOf(Array);
|
|
141
|
-
(0, globals_1.expect)(response).toHaveLength(1);
|
|
142
|
-
(0, globals_1.expect)(response[0].status).toBe('SUCCESS');
|
|
143
|
-
}), 10000);
|
|
144
223
|
});
|
|
145
|
-
afterAll(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
146
|
-
console.log('destroy');
|
|
147
|
-
yield hap.destroy();
|
|
148
|
-
}));
|
|
149
224
|
});
|
|
150
225
|
function sleep(ms) {
|
|
151
226
|
return __awaiter(this, void 0, void 0, function* () {
|