Skip to content

Commit 24b680a

Browse files
feat: create presence value object
1 parent 88c4992 commit 24b680a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/entities/environment/EnvironmentData.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,10 @@ object EnvironmentData {
3131
*/
3232
data class Luminosity(val luminosityValue: Double)
3333

34+
/**
35+
* The presence of a person inside the room.
36+
* @param presenceDetected true if is a person detection event, false otherwise.
37+
*/
38+
data class Presence(val presenceDetected: Boolean)
39+
3440
}

0 commit comments

Comments
 (0)