JSON response for "/devices" doesn't have "deviceType" field for cameras
Analysis
JSON response for "/devices" doesn't have "deviceType" field for cameras, see log below
Expected Behavior
Should add "deviceType" field for cameras.
Steps To Reproduce
Execute "/devices" request
Logs
{
"deviceId": "eb3884bc99a5d26922cx0j",
"deviceName": "Camera Drive 03",
"enableCloudService": true,
"hubDeviceId": "FFFFFFFFFFFF"
},
{
"deviceId": "eb806f7a2d590d76113nfn",
"deviceName": "Camera Drive 01",
"enableCloudService": true,
"hubDeviceId": "FFFFFFFFFFFF"
},
{
"deviceId": "ebfb7a0806ba392037npkq",
"deviceName": "Camera Drive 02",
"enableCloudService": true,
"hubDeviceId": "FFFFFFFFFFFF"
}
Configuration
N/A
Environment
- OS:
- Software:
- Node:
- npm:
Additional Context
No response
Which cameras?
Which cameras?
I don't know, I'm the author of SwitchBot plugin for HomeSeer https://forums.homeseer.com/forum/hs4-products/hs4-plugins/lighting-primary-technology-plug-ins-aa/ak-switchbot/1620351-new-switchbot-plugin-introduction-configuration?p=1620354#post1620354
The user reported the problem, so I need to check with him.
[EDIT]
I asked the user, but in the mean time I can assume it's SwitchBot Outdoor Spotlight Cam - because all three cameras are in the driveway.
Yes, the reply from user:
I have three "SwitchBot Outdoor Spotlight Cam"