You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manually editing the config.json to contain "type": "Switch" instead of "type": "switch" fixes the error and also allows using the device in the Home app. However, the UI then does not show a selected type anymore:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the Bug
Configuring a "Other" IR device results in
Device Type not set
error regardless of the type configured.This is probably related to #1091 where the lowercase device types where corrected to uppercase.
Note
"switch"
being lowercase in the logs.To Reproduce
Add a custom (other) IR remote and configure it in Homebridge. Regardless of the actual type configured, the error should appear.
Expected Behavior
The type should match case-insensitive
Relevant Log Output
Config for homebridge-switchbot
Screenshots
No response
Device and Model
Raspberry Pi 5
Node.js Version
v20.18.0
NPM Version
v10.8.2
Homebridge Version
v1.8.5
Homebridge Switchbot Plugin Version
v4.1.3
Homebridge Config UI X Plugin Version
v4.62.0
Operating System
Docker image
The text was updated successfully, but these errors were encountered: