Skip to content

Commit

Permalink
v2.7.0 (#771)
Browse files Browse the repository at this point in the history
Co-authored-by: mrlt8 <[email protected]>
Co-authored-by: banboobee <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2023
1 parent b09e789 commit 6172776
Show file tree
Hide file tree
Showing 23 changed files with 1,565 additions and 1,222 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 2.7.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.7.0) (2023-07-25)

## What's Changed

- Will now log if there are no devices discovered by SwitchBot-API.
- Added the ability to use Tempature from a SwitchBot Meter to be used with an IR Air Conditioner. [#761](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/761), Thanks [@mrlt8](https://github.com/mrlt8)
- Adds the ability to enable EVE history SwitchBot Curtains. [#766](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/766), Thanks [@banboobee](https://github.com/banboobee)
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.6.2....v2.7.0

## [Version 2.6.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.6.2) (2023-04-17)

## What's Changed
Expand Down
66 changes: 66 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,13 @@
"logging": {
"title": "Device Logging Override Setting",
"type": "string",
"required": true,
"default": "",
"oneOf": [
{
"title": "Default Logging",
"enum": [""]
},
{
"title": "Standard Logging",
"enum": ["standard"]
Expand Down Expand Up @@ -990,6 +996,52 @@
"condition": {
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Air Conditioner' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Air Conditioner') && model.options.irdevices[arrayIndices].deviceId);"
}
},
"meterType": {
"title": "Use an existing Switchbot device for temperature/humidity",
"type": "string",
"oneOf": [
{
"title": "Meter",
"enum": [
"Meter"
]
},
{
"title": "MeterPlus",
"enum": [
"MeterPlus"
]
},
{
"title": "Meter Plus (JP)",
"enum": [
"Meter Plus (JP)"
]
},
{
"title": "Hub 2",
"enum": [
"Hub 2"
]
},
{
"title": "WoIOSensor",
"enum": [
"WoIOSensor"
]
}
],
"condition": {
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Air Conditioner' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Air Conditioner') && model.options.irdevices[arrayIndices].deviceId);"
}
},
"meterId": {
"title": "Device ID of the device to use for temperature/humidity",
"type": "string",
"condition": {
"functionBody": "return (model.options && model.options.irdevices && !model.options.irdevices[arrayIndices].hide_device && (model.options.irdevices[arrayIndices].configRemoteType === 'Air Conditioner' || model.options.irdevices[arrayIndices].configRemoteType === 'DIY Air Conditioner') && model.options.irdevices[arrayIndices].deviceId && model.options.irdevices[arrayIndices].irair?.meterType);"
}
}
}
},
Expand Down Expand Up @@ -1072,7 +1124,13 @@
"logging": {
"title": "Device Logging Override Setting",
"type": "string",
"required": true,
"default": "",
"oneOf": [
{
"title": "Default Logging",
"enum": [""]
},
{
"title": "Standard Logging",
"enum": ["standard"]
Expand Down Expand Up @@ -1110,7 +1168,13 @@
"logging": {
"title": "Logging Setting",
"type": "string",
"required": true,
"default": "",
"oneOf": [
{
"title": "Default Logging",
"enum": [""]
},
{
"title": "Standard Logging",
"enum": ["standard"]
Expand Down Expand Up @@ -1241,6 +1305,8 @@
"options.irdevices[].disablePushOff",
"options.irdevices[].disablePushDetail",
"options.irdevices[].irair.hide_automode",
"options.irdevices[].irair.meterType",
"options.irdevices[].irair.meterId",
"options.irdevices[].irfan.rotation_speed",
"options.irdevices[].irfan.swing_mode",
"options.irdevices[].irfan.set_minStep",
Expand Down
2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"watch": ["src"],
"ext": "ts",
"ignore": [],
"exec": "DEBUG= tsc && homebridge -T -D -P -I ..",
"exec": "DEBUG= tsc && homebridge -T -D -P -I -U ~/.homebridge-dev ..",
"signal": "SIGTERM",
"env": {
"NODE_OPTIONS": "--trace-warnings"
Expand Down
Loading

0 comments on commit 6172776

Please sign in to comment.