action smart_me_values_in_past_get { label: "Gets all (last) values of a device \n The first Value found before the given Date is returned." description: "Gets the Values for a device at a given Date. The first Value found before the given Date is returned." provider: smart_me method: GET path: "/api/ValuesInPast/{id}" encoding: json input: { type: "object" properties: { date: { type: "string" format: "date-time" } id: { type: "string" } } required: ["date", "id"] additionalProperties: false } output: { type: "object" description: "API Container for a Meter Value" properties: { Date: { type: "string" format: "date-time" description: "The Date of the Value" } DeviceId: { type: "string" description: "The ID of the device" } Values: { type: "array" description: "All values" items: { type: "object" description: "API Container for a (Device) Value" properties: { Obis: { type: "string" description: "The Obis code of this value. \n A description you can find here: \n http://wiki.smart-me.com/index.php/Obis_codes" } Value: { type: "number" format: "double" description: "The Value" } } } } } } }