{
    "pluginAlias": "SolarEdgeAccfactory",
    "pluginType": "platform",
    "singular": true,
    "schema": {
        "type" : "object",
        "properties" : {
            "name": {
                "title": "Name",
                "type": "string",
                "default": "SolarEdgeAccfactory",
                "condition": "1=2"
            },
            "solaredge": {
                "title": "SolarEdge",
                "type": "object",
                "expandable": true,
                "expanded": true,
                "properties": {
                    "apiKey": {
                        "type": "string",
                        "title": "API Key",
                        "placeholder": "Enter your SolarEdge API Key (v1 API)",
                        "required": true
                    }
                }
            },
            "options": {
                "title": "Options",
                "type": "object",
                "expandable": true,
                "expanded": true,
                "properties": {
                    "eveHistory": {
                        "title": "EveHome History",
                        "description": "Provide history in EveHome application where applicable",
                        "type": "boolean",
                        "default": true
                    }
                }
            }
        }
    }
}