forked from openhab-scripters/openhab-helper-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept DateTimeItem as input for
to_java_zoneddatetime
. [openhab-sc…
…ripters#4] Before it would complain with TypeError: Unknown type: <type 'org.openhab.core.library.items.DateTimeItem'>. It turns out that you cannot simply pass it a DateTimeItem, but instead you should pass it its state. The current implementation also accepts passing the item.
- Loading branch information
1 parent
a113eb1
commit f4d0f56
Showing
2 changed files
with
11 additions
and
0 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
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