Skip to content

Commit

Permalink
Add door position
Browse files Browse the repository at this point in the history
Inspired by DOOR_POS in Android

Signed-off-by: Erik Jaegervall <[email protected]>
  • Loading branch information
erikbosch committed Jun 26, 2023
1 parent 9481aef commit bafffc9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion spec/Cabin/SingleDoor.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,22 @@
IsOpen:
datatype: boolean
type: actuator
description: Is door open or closed
description: Is door open or closed. True = Open (fully or partial). False = Fully closed

IsLocked:
datatype: boolean
type: actuator
description: Is door locked or unlocked. True = Locked. False = Unlocked.

Position:
datatype: uint8
type: actuator
min: 0
max: 100
unit: percent
description: Door position. 0 = Fully closed 100 = Fully opened.

#include SingleSliderSwitch.vspec

#
# Window description
Expand Down

0 comments on commit bafffc9

Please sign in to comment.