From 56327964f71223cdef99f5b7526b24e1d2911ff9 Mon Sep 17 00:00:00 2001 From: Ben <43026681+bwp91@users.noreply.github.com> Date: Sat, 13 Jul 2024 16:54:28 +0100 Subject: [PATCH] new models --- CHANGELOG.md | 11 +++++++++++ config.schema.json | 4 ++++ lib/platform.js | 1 + lib/utils/constants.js | 4 ++-- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 315932a..e0edc9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,17 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr - `MINOR` version when a new device type is added, or when a new feature is added that is backwards-compatible - `PATCH` version when backwards-compatible bug fixes are implemented +## 10.5.0 (2024-07-13) + +### Added + +- Support (beta) `MS100F` temperature sensor +- Support (beta) thermostat `MTS960` + +### Changed + +- Add MSH300HK to IgnoreHKNative in constants.js (#572) (@LWatso99) + ## 10.4.1 (2024-07-13) ### Changed diff --git a/config.schema.json b/config.schema.json index 28472db..43481b4 100644 --- a/config.schema.json +++ b/config.schema.json @@ -1306,6 +1306,10 @@ { "title": "MTS200B", "enum": ["MTS200B"] + }, + { + "title": "MTS960", + "enum": ["MTS960"] } ], "condition": { diff --git a/lib/platform.js b/lib/platform.js index 5c106fd..ad099d7 100644 --- a/lib/platform.js +++ b/lib/platform.js @@ -900,6 +900,7 @@ export default class { subAcc.control = new deviceTypes.deviceHubSmoke(this, subAcc); break; case 'MS100': + case 'MS100F': subAcc.control = new deviceTypes.deviceHubSensor(this, subAcc); break; case 'MS400': diff --git a/lib/utils/constants.js b/lib/utils/constants.js index 33622aa..dae34c7 100644 --- a/lib/utils/constants.js +++ b/lib/utils/constants.js @@ -300,9 +300,9 @@ export default { garage: ['MSG100', 'MSG200'], roller: ['MRS100'], baby: ['HP110A', 'HP110AHK'], - thermostat: ['MTS200', 'MTS200B'], + thermostat: ['MTS200', 'MTS200B', 'MTS960'], hubMain: ['MSH300', 'MSH300HK'], - hubSub: ['GS559A', 'MS100', 'MS400', 'MTS100V3', 'MTS150'], + hubSub: ['GS559A', 'MS100', 'MS100F', 'MS400', 'MTS100V3', 'MTS150'], }, hkNativeHardware: {