homebridge-switchbot: Bug: API Request: TypeError
Describe The Bug
error shows up in log
To Reproduce
just updated to V2.0. It might be because the Curtains are not grouped?
Expected behavior
no error
Relevant log output
[12/10/2022, 10:39:36] [SwitchBot] API Request: TypeError: Cannot read properties of undefined (reading 'toUpperCase')
[12/10/2022, 10:39:36] [SwitchBot] deviceName: Rote Gardine [Curtain Config] disable_group: undefined, UnGrouping true
[12/10/2022, 10:39:36] [SwitchBot] deviceName: Vorhang [Curtain Config] disable_group: undefined, UnGrouping true
Config for homebridge-switchbot
{
"name": "SwitchBot",
"credentials": {
"token": "xxx",
"secret": "xxx",
"notice": "Keep your token a secret!"
},
"options": {
"irdevices": [
{
"deviceId": "xxx",
"configRemoteType": "TV"
}
],
"refreshRate": 30,
"pushRate": 1,
"logging": "standard"
},
"platform": "SwitchBot"
}
Screenshots
No response
Device & Model
na
Node.js Version
v16.17.1
NPM Version
8.15.0
Homebridge Version
v1.5.0
Homebridge Switchbot Plugin Version
v2.0.0
Homebridge Config UI X Plugin Version
v4.50.1
Operating System
Raspian Buster
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23
Commits related to this issue
- v2.1.0 ## [Version 2.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.0) (2022-10-13) ## What's Changed - Added `pushRatePress` config to set how many seconds inbetween... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 2 years ago
- v2.1.0 (#515) ## [Version 2.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.0) (2022-10-13) ## What's Changed - Added `pushRatePress` config to set how many second... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 2 years ago
- v2.1.1 ## [Beta - Version 2.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v2.1.1) (2022-10-XX) ## What's Changed - Fixed issue were `CustomOff` would send incorrect comma... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 2 years ago
- v2.11.0 # Changelog All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/) ## [Version 2.11.0](https://github.com/OpenWond... — committed to OpenWonderLabs/homebridge-switchbot by donavanbecker 8 months ago
Closing as it will be resolved with v2.1.0 which I will release right now.