action corrently_gsi_besthour { label: "Get best hour (with most regional green energy) in a given timeframe." description: "Simple Wrapper around the GreenPowerIndex for easy integration into almost any SmartHome system that allows access to a JSON/REST Service This endpoint is designed to indicate if a device should be turned on or off. (Switch state).\n" provider: corrently method: GET path: "/gsi/bestHour" encoding: json input: { type: "object" properties: { hours: { type: "integer" } key: { type: "string" } timeframe: { type: "integer" } zip: { type: "string" } } additionalProperties: false } output: { type: "boolean" description: "true if device should be turned on now. false if not." } }