Skip to content

Commit

Permalink
Version 1.1.0 (#93)
Browse files Browse the repository at this point in the history
## [Version 1.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.1.0) (2021-11-16)

## What's Changed
* Fixed Bug: Curtains alternate between open/close state. [#85](#85)
* Fixed Bug: IR Fan won't be hidden in Home app. [#90](#90)
* Fixed Bug: `hide_temperature` config option causing `Cannot read property 'updateCharacteristic' of undefined` for  Humidifiers. [#90](#90)
* Add option to Hide Curtain's Light Sensor. [#91](#91)
* Add option to Hide Contact Sensor's Motion Sensor or Light Sensor.

**Full Changelog**: v1.0.2...v1.1.0
  • Loading branch information
donavanbecker authored Nov 16, 2021
1 parent 33c779e commit 072eb78
Show file tree
Hide file tree
Showing 11 changed files with 378 additions and 516 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [Version 1.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.1.0) (2021-11-16)

## What's Changed
* Fixed Bug: Curtains alternate between open/close state. [#85](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/85)
* Fixed Bug: IR Fan won't be hidden in Home app. [#90](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/90)
* Fixed Bug: `hide_temperature` config option causing `Cannot read property 'updateCharacteristic' of undefined` for Humidifiers. [#90](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/90)
* Add option to Hide Curtain's Light Sensor. [#91](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/91)
* Add option to Hide Contact Sensor's Motion Sensor or Light Sensor.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.2...v1.1.0

## [Version 1.0.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.2) (2021-11-15)

## What's Changed
Expand Down
29 changes: 29 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceType === 'Curtain' && model.options.devices[arrayIndices].deviceId);"
}
},
"hide_lightsensor": {
"title": "Hide Curtain's Light Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceType === 'Curtain' && model.options.devices[arrayIndices].deviceId);"
}
},
"refreshRate": {
"title": "Refresh Rate",
"type": "number",
Expand Down Expand Up @@ -285,6 +292,25 @@
}
}
},
"contact": {
"type": "object",
"properties": {
"hide_lightsensor": {
"title": "Hide Curtains's Light Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceType === 'Contact Sensor' && model.options.devices[arrayIndices].deviceId);"
}
},
"hide_motionsensor": {
"title": "Hide Curtains's Motion Sensor",
"type": "boolean",
"condition": {
"functionBody": "return (model.options && model.options.devices && !model.options.devices[arrayIndices].hide_device && model.options.devices[arrayIndices].deviceType === 'Contact Sensor' && model.options.devices[arrayIndices].deviceId);"
}
}
}
},
"colorbulb": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -674,10 +700,13 @@
"options.devices[].humidifier.set_minStep",
"options.devices[].humidifier.hide_temperature",
"options.devices[].curtain.disable_group",
"options.devices[].curtain.hide_lightsensor",
"options.devices[].curtain.refreshRate",
"options.devices[].curtain.set_minStep",
"options.devices[].curtain.set_min",
"options.devices[].curtain.set_max",
"options.devices[].contact.hide_lightsensor",
"options.devices[].contact.hide_motionsensor",
"options.devices[].colorbulb.set_minStep"
]
}
Expand Down
Loading

0 comments on commit 072eb78

Please sign in to comment.