Skip to content

Commit 6cb7c7e

Browse files
committed
add time fields, switch mode/state in tstat description
1 parent c2f2b0f commit 6cb7c7e

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

interfaces/xbos_light.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Light:
66
- info:
77
- state
88
- brightness
9+
- time
910
slots:
1011
- state:
1112
- state
@@ -21,3 +22,7 @@ Light:
2122
minimum: 0
2223
description: Current brightness of the light; 100 is maximum brightness
2324
required: false
25+
time:
26+
type: integer
27+
description: nanoseconds since the Unix epoch
28+
required: false

interfaces/xbos_plug.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Plug:
55
signals:
66
- info:
77
- state
8+
- time
89
slots:
910
- state:
1011
- state
@@ -13,3 +14,7 @@ Plug:
1314
type: boolean
1415
description: Whether or not the plug is enabled
1516
required: true
17+
time:
18+
type: integer
19+
description: nanoseconds since the Unix epoch
20+
required: false

interfaces/xbos_temperature_sensor.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ Temperature Sensor:
55
signals:
66
- info:
77
- temperature
8+
- time
89
properties:
910
temperature:
1011
type: double
1112
description: Current temperature reading
1213
required: true
1314
units: Fahrenheit
15+
time:
16+
type: integer
17+
description: nanoseconds since the Unix epoch
18+
required: false

interfaces/xbos_thermostat.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Thermostat:
1212
- fan
1313
- mode
1414
- state
15+
- time
1516
slots:
1617
- setpoints:
1718
- heating_setpoint
@@ -20,7 +21,7 @@ Thermostat:
2021
- heating_setpoint
2122
- cooling_setpoint
2223
- override
23-
- state
24+
- mode
2425
- fan
2526
properties:
2627
temperature:
@@ -77,3 +78,7 @@ Thermostat:
7778
description: The thermostat is calling for cool
7879
- value: 3
7980
description: The thermostat is in auto mode (not currently calling for heat/cool, but can)
81+
time:
82+
type: integer
83+
description: nanoseconds since the Unix epoch
84+
required: false

0 commit comments

Comments
 (0)