-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from dvdgeisler/bugfix/update_off_on_condition
#92 Support new sunset conditions
- Loading branch information
Showing
2 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 4 additions & 7 deletions
11
...dgeisler/iot/dirigera/client/api/model/device/motionsensor/MotionSensorScheduleEntry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
package de.dvdgeisler.iot.dirigera.client.api.model.device.motionsensor; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
import java.time.LocalTime; | ||
|
||
public class MotionSensorScheduleEntry { | ||
@JsonFormat(pattern="HH:mm") | ||
public LocalTime time; | ||
public String time; | ||
public int offset; | ||
|
||
public MotionSensorScheduleEntry() { | ||
} | ||
|
||
public MotionSensorScheduleEntry(final LocalTime time) { | ||
public MotionSensorScheduleEntry(String time, int offset) { | ||
this.time = time; | ||
this.offset = offset; | ||
} | ||
} |