Skip to content

Commit

Permalink
[actions] Add new ColorUtil methods to CoreUtil docs (#388)
Browse files Browse the repository at this point in the history
Refs openhab/openhab-core#4410.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 authored Oct 8, 2024
1 parent d129fc9 commit ceab88d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ const BusEvent = Java.type('org.openhab.core.model.script.actions.BusEvent');
* CoreUtil.hsbToRgbwPercent(HSBType hsb) -> PercentType[]
* CoreUtil.rgbToHsb(int[] rgb) -> HSBType
* CoreUtil.rgbToHsb(PercentType[] rgb) -> HSBType
* CoreUtil.xyToDuv(double[] xy) -> double
* CoreUtil.kelvinToXY(double kelvin) -> double[]
* CoreUtil.xyToKelvin(double[] xy) -> double
*
* @name CoreUtil
* @memberof actions
Expand Down
3 changes: 3 additions & 0 deletions types/actions/actions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export const BusEvent: any;
* CoreUtil.hsbToRgbwPercent(HSBType hsb) -> PercentType[]
* CoreUtil.rgbToHsb(int[] rgb) -> HSBType
* CoreUtil.rgbToHsb(PercentType[] rgb) -> HSBType
* CoreUtil.xyToDuv(double[] xy) -> double
* CoreUtil.kelvinToXY(double kelvin) -> double[]
* CoreUtil.xyToKelvin(double[] xy) -> double
*
* @name CoreUtil
* @memberof actions
Expand Down
2 changes: 1 addition & 1 deletion types/actions/actions.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ceab88d

Please sign in to comment.