sahilchaddha / homebridge-yeelight-platform

Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
MIT License
58 stars 7 forks source link

Setting scenes to an empty array still loads all the scenes #24

Open ekimia opened 5 years ago

ekimia commented 5 years ago

Describe the bug Specifying an empty scenes array automatically adds all scenes

Expected behavior No scenes should be loaded

Config

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-153"
    },

    "description": "Config file",
    "platforms": [{
            "platform": "Yeelight-Platform",
            "addResetSwitch": true,
            "shouldTurnOff": true
        }
    ],
    "scenes": []
}