Skip to content

Commit

Permalink
[astro] Update README.md (openhab#8212)
Browse files Browse the repository at this point in the history
Merged without sign-off under small document change exemption.
  • Loading branch information
clinique authored and andrewfg committed Aug 31, 2020
1 parent c630bee commit 4b87f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundles/org.openhab.binding.astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ Getting sunActions variable in scripts
}
```

### getEventTime(sunPhaseName, moment, date)
### getEventTime(phaseName, date, moment)

Retrieves date and time (ZonedDateTime) of the requested phase name.
Thing method only applies to Sun thing type.

* `sunPhaseName` (String), values: `SUN_RISE, ASTRO_DAWN, NAUTIC_DAWN, CIVIL_DAWN, CIVIL_DUSK, NAUTIC_DUSK, ASTRO_DUSK, SUN_SET, DAYLIGHT, NIGHT`. Mandatory.
* `phaseName` (String), values: `SUN_RISE, ASTRO_DAWN, NAUTIC_DAWN, CIVIL_DAWN, CIVIL_DUSK, NAUTIC_DUSK, ASTRO_DUSK, SUN_SET, DAYLIGHT, NIGHT`. Mandatory.

* `date` (ZonedDateTime), only the date part of this parameter will be considered - defaulted to now() if null.

Expand Down

0 comments on commit 4b87f43

Please sign in to comment.