-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevice-config-schema.coffee
31 lines (31 loc) · 1.14 KB
/
device-config-schema.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
title: "pimatic-knmi-weather device config schema"
KnmiWeather: {
title: "KNMI Weather"
description: "KNMI Weather Data"
type: "object"
extensions: ["xLink", "xAttributeOptions"]
properties:
station:
description: "Name for the weather station"
enum: [
"Arcen", "Berkhout", "Cabauw", "De Bilt", "Deelen",
"Den Helder", "Eelde", "Eindhoven", "Ell", "Gilze Rijen",
"Heino", "Herwijnen", "Hoek van Holland", "Hoogeveen", "Houtribdijk",
"Hupsel", "IJmuiden", "Lauwersoog", "Leeuwarden", "Lelystad",
"Maastricht-Aachen Airport", "Marknesse", "Nieuw Beerta", "Rotterdam", "Schiphol",
"Stavoren", "Terschelling", "Texelhors", "Twente", "Vlieland",
"Vlissingen", "Volkel", "Voorschoten", "Westdorpe", "Wijk aan Zee",
"Wilhelminadorp", "Woensdrecht"
]
attributes:
type: "array"
default: ["temperature"]
format: "table"
items:
enum: [
"clouds", "temperature", "windChill", "humidity",
"windDirection", "windSpeed", "visibility", "pressure"
]
}
}