Bug: Daily Limit
### Describe The Bug

Unresponsive 

### To Reproduce

Restarting homebridge 

### Expected behavior

Response swiftly and correctly

### Relevant log output

```shell
API Request: TypeError: Cannot read properties of undefined (reading 'map'), Submit Bugs Here: https://tinyurl.com/SwitchBotBug
```


### Config for homebridge-switchbot

```shell
{
    "bridge": {
        "name": "Homebridge 67B6",
        "username": "0E:09:15:6B:67:B6",
        "port": 51733,
        "pin": "144-95-508",
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "name": "Automation-Dummy",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        },
        {
            "name": "DummySwitch2",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "none",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Govee",
            "username": "cosm------",
            "password": "Y@------",
            "apiKey": "9c8--------",
            "platform": "Govee"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "68-----------",
                "secret": "48--------",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "refreshRate": 31,
                "logging": "standard"
            },
            "platform": "SwitchBot"
        }
    ]
}
```


### Screenshots

![image](https://user-images.githubusercontent.com/9095643/197405232-73ec9eda-817c-4626-b4cf-c6d81a08f73f.png)


### Device & Model

Switchbot bot x2, Switchbot Curtains, Switchbot Light Strip, Switchbot Colour Bulb, Switchbot Motion Detector, Switchbot meter plus 

### Node.js Version

v16.18.0

### NPM Version

unaware how to see

### Homebridge Version

1.5.0

### Homebridge Switchbot Plugin Version

2.2.2

### Homebridge Config UI X Plugin Version

_No response_

### Operating System

Synology NAS