Update website and doc repo links to use archived 3.4.x docs (#2502)

This is required to keep add-on logos working for 3.4.x, because with
the introduction of SVG logo support and the conversion of some logos,
3.4.x would not be able to display SVG logos.
For the docs, it is also really helpful to link to the docs matching the
version, because due to the number of breaking changes for openHAB 4.0
there are larger difference in parts of the docs. Linking the wrong
could cause confusion.

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3.4.x
Florian Hotze 2024-03-28 10:21:09 +01:00 committed by GitHub
parent 3d1348096f
commit dd49b62a33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
38 changed files with 105 additions and 109 deletions

View File

@ -5,7 +5,7 @@
* - It is known that "webaudio" isn't working on OH3 at the moment: https://github.com/openhab/openhab-webui/issues/743 * - It is known that "webaudio" isn't working on OH3 at the moment: https://github.com/openhab/openhab-webui/issues/743
* - Even though "enhancedjavasound" is provided as a sink, currently it is not clear what the intention is * - Even though "enhancedjavasound" is provided as a sink, currently it is not clear what the intention is
* *
* See more background info on openHAB multimedia here: https://www.openhab.org/docs/configuration/multimedia.html * See more background info on openHAB multimedia here: https://v34.openhab.org/docs/configuration/multimedia.html
*/ */
import Blockly from 'blockly' import Blockly from 'blockly'
@ -45,7 +45,7 @@ export default function (f7, sinks, voices) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Plays a sound file from the sounds folder to the given sink.') this.setTooltip('Plays a sound file from the sounds folder to the given sink.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio')
} }
} }
@ -82,7 +82,7 @@ export default function (f7, sinks, voices) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Plays a sound file from the sounds folder to the given sink at a given volume. \n Note: rather set volume first via thing volume channel, then play sound without volume parameter as it may be more reliable.') this.setTooltip('Plays a sound file from the sounds folder to the given sink at a given volume. \n Note: rather set volume first via thing volume channel, then play sound without volume parameter as it may be more reliable.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio-with-volume') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-audio-with-volume')
} }
} }
@ -118,7 +118,7 @@ export default function (f7, sinks, voices) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('plays an audio stream from an url to the given sink(s)') this.setTooltip('plays an audio stream from an url to the given sink(s)')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-stream') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#play-stream')
} }
} }
@ -148,7 +148,7 @@ export default function (f7, sinks, voices) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('stops the audio stream at the given sink') this.setTooltip('stops the audio stream at the given sink')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#stop-stream') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#stop-stream')
} }
} }
@ -183,7 +183,7 @@ export default function (f7, sinks, voices) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Speak text at the given device via text-to-speech') this.setTooltip('Speak text at the given device via text-to-speech')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#say') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html#say')
} }
} }

View File

@ -18,7 +18,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour('%{BKY_COLOUR_HUE}') this.setColour('%{BKY_COLOUR_HUE}')
this.setTooltip('converts a colour\'s hex rgb representation to openHAB\'s hue-saturation-brightness string') this.setTooltip('converts a colour\'s hex rgb representation to openHAB\'s hue-saturation-brightness string')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#create-hsb-color-from-rgb-color-openhabblocks-color.js') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#create-hsb-color-from-rgb-color-openhabblocks-color.js')
} }
} }

View File

@ -15,7 +15,7 @@ export default function (f7) {
this.setOutput(true, 'DayOffset') this.setOutput(true, 'DayOffset')
this.setColour(70) this.setColour(70)
this.setTooltip('today\'s date for Ephemeris check block') this.setTooltip('today\'s date for Ephemeris check block')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today')
} }
} }
@ -42,7 +42,7 @@ export default function (f7) {
this.setOutput(true, 'DayOffset') this.setOutput(true, 'DayOffset')
this.setColour(70) this.setColour(70)
this.setTooltip('today with a positive or negative day offset for Ephemeris check block') this.setTooltip('today with a positive or negative day offset for Ephemeris check block')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today-x-days') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#today-x-days')
} }
} }
@ -67,7 +67,7 @@ export default function (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(70) this.setColour(70)
this.setTooltip('Obtains the current date-time from the system clock in the default time-zone.\nReturns: ZonedDateTime') this.setTooltip('Obtains the current date-time from the system clock in the default time-zone.\nReturns: ZonedDateTime')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-datetime-now') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-datetime-now')
} }
} }
@ -101,7 +101,7 @@ export default function (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(70) this.setColour(70)
this.setTooltip('Obtains the current date-time from the system clock in the default time-zone with a simple positive or negative offset.\nReturns: ZonedDateTime') this.setTooltip('Obtains the current date-time from the system clock in the default time-zone with a simple positive or negative offset.\nReturns: ZonedDateTime')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date-now-with-offset') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date-now-with-offset')
} }
} }
@ -129,7 +129,7 @@ export default function (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(70) this.setColour(70)
this.setTooltip('Creates a ZonedDateTime based on the given input for date and time with nanos set to 0 and the system\'s time-zone. The values need to be valid.\nReturns: ZonedDateTime') this.setTooltip('Creates a ZonedDateTime based on the given input for date and time with nanos set to 0 and the system\'s time-zone. The values need to be valid.\nReturns: ZonedDateTime')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-with-date-and-time-values') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-with-date-and-time-values')
}, },
updateShape_: function () { updateShape_: function () {
let year = this.appendValueInput('year') let year = this.appendValueInput('year')
@ -184,7 +184,7 @@ export default function (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(70) this.setColour(70)
this.setTooltip('A ZonedDateTime with time set to zero') this.setTooltip('A ZonedDateTime with time set to zero')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-picker') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-picker')
} }
} }
@ -227,7 +227,7 @@ export default function (f7) {
'returns ZonedDateTime"\n' 'returns ZonedDateTime"\n'
this.setTooltip(tooltip) this.setTooltip(tooltip)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-date')
} }
} }
@ -255,7 +255,7 @@ export default function (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(70) this.setColour(70)
this.setTooltip('ZonedDateTime from a datetime item') this.setTooltip('ZonedDateTime from a datetime item')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-from-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#datetime-from-item')
} }
} }
@ -290,7 +290,7 @@ export default function (f7) {
this.setOutput(true, 'zdtTemporalUnit') this.setOutput(true, 'zdtTemporalUnit')
this.setColour(120) this.setColour(120)
this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year') this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of')
}, },
onClick (nextField) { onClick (nextField) {
let block = this.getSourceBlock() let block = this.getSourceBlock()
@ -359,7 +359,7 @@ export default function (f7) {
this.setOutput(true, 'zdtTemporalUnit') this.setOutput(true, 'zdtTemporalUnit')
this.setColour(120) this.setColour(120)
this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year') this.setTooltip('click arrow to scroll through year, month, day, hour, minute, second, milli, nano, day of year')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of')
}, },
onClick (nextField) { onClick (nextField) {
let block = this.getSourceBlock() let block = this.getSourceBlock()
@ -429,7 +429,7 @@ export default function (f7) {
this.setMutator(new Blockly.Mutator(['oh_zdt_amend_item'])) this.setMutator(new Blockly.Mutator(['oh_zdt_amend_item']))
this.setTooltip('Use a ZonedDateTime as a basis and amend it via particular temporal blocks') this.setTooltip('Use a ZonedDateTime as a basis and amend it via particular temporal blocks')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#create-datetime-based-on-a-specific-date-copy-of')
}, },
mutationToDom: function () { mutationToDom: function () {
let container = Blockly.utils.xml.createElement('mutation') let container = Blockly.utils.xml.createElement('mutation')
@ -611,7 +611,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour(160) this.setColour(160)
this.setTooltip('converts an ZonedDateTime into a date string') this.setTooltip('converts an ZonedDateTime into a date string')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-string-representation-of-date') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-string-representation-of-date')
} }
} }
@ -660,7 +660,7 @@ export default function (f7) {
this.setInputsInline(true) this.setInputsInline(true)
this.setColour('%{BKY_LOGIC_HUE}') this.setColour('%{BKY_LOGIC_HUE}')
this.setTooltip('Compares two ZonedDateTimes with each other') this.setTooltip('Compares two ZonedDateTimes with each other')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison')
} }
} }
@ -704,7 +704,7 @@ export default function (f7) {
this.setInputsInline(true) this.setInputsInline(true)
this.setColour('%{BKY_LOGIC_HUE}') this.setColour('%{BKY_LOGIC_HUE}')
this.setTooltip('Compares two ZonedDateTimes with each other') this.setTooltip('Compares two ZonedDateTimes with each other')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison-between') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#date-comparison-between')
} }
} }
@ -741,7 +741,7 @@ export default function (f7) {
this.setOutput(true, 'Number') this.setOutput(true, 'Number')
this.setColour(230) this.setColour(230)
this.setTooltip('Returns the selected field as Number.') this.setTooltip('Returns the selected field as Number.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-part-of-datetime') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-part-of-datetime')
} }
} }
@ -790,7 +790,7 @@ export default function (f7) {
this.setOutput(true, 'Number') this.setOutput(true, 'Number')
this.setColour(230) this.setColour(230)
this.setTooltip('Returns the selected field as Number.') this.setTooltip('Returns the selected field as Number.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-difference-between-datetimes') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html#get-difference-between-datetimes')
} }
} }

View File

@ -12,7 +12,7 @@ export default function (f7) {
this.updateShape_() this.updateShape_()
this.setOutput(true, 'Dictionary') this.setOutput(true, 'Dictionary')
this.setMutator(new Blockly.Mutator(['dicts_create_with_item'])) this.setMutator(new Blockly.Mutator(['dicts_create_with_item']))
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#dictionary-for-managing-key-value-pairs') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#dictionary-for-managing-key-value-pairs')
this.setTooltip('Create a key/value dictionary') this.setTooltip('Create a key/value dictionary')
}, },
/** /**
@ -188,7 +188,7 @@ export default function (f7) {
.setCheck('String') .setCheck('String')
this.setInputsInline(true) this.setInputsInline(true)
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#get-value-of-key-from-dictionary') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#get-value-of-key-from-dictionary')
this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script') this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script')
} }
} }

View File

@ -2,7 +2,7 @@
* Ephemeris provides calendar related information * Ephemeris provides calendar related information
* @author stefan.hoehn * @author stefan.hoehn
* *
* See more background info on openHAB ephemeris here: https://www.openhab.org/docs/configuration/actions.html#ephemeris * See more background info on openHAB ephemeris here: https://v34.openhab.org/docs/configuration/actions.html#ephemeris
* See usage discussion here: https://community.openhab.org/t/wip-ephemeris-documentation/84536 * See usage discussion here: https://community.openhab.org/t/wip-ephemeris-documentation/84536
*/ */
import Blockly from 'blockly' import Blockly from 'blockly'
@ -28,7 +28,7 @@ export default function (f7) {
this.setInputsInline(true) this.setInputsInline(true)
this.setTooltip('checks if the given day is a holiday, weekend or weekday') this.setTooltip('checks if the given day is a holiday, weekend or weekday')
this.setOutput(true, null) this.setOutput(true, null)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#holiday-weekend-or-weekday-check') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#holiday-weekend-or-weekday-check')
} }
} }
@ -71,7 +71,7 @@ export default function (f7) {
this.setInputsInline(true) this.setInputsInline(true)
this.setTooltip('name of the holiday for the given day') this.setTooltip('name of the holiday for the given day')
this.setOutput(true, null) this.setOutput(true, null)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-holiday-name-for-a-particular-date') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-holiday-name-for-a-particular-date')
} }
} }
@ -99,7 +99,7 @@ export default function (f7) {
this.setInputsInline(true) this.setInputsInline(true)
this.setTooltip('days from today until the given bank holiday name') this.setTooltip('days from today until the given bank holiday name')
this.setOutput(true, null) this.setOutput(true, null)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-number-of-days-until-a-specific-holiday') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html#get-the-number-of-days-until-a-specific-holiday')
} }
} }

View File

@ -18,7 +18,7 @@ export default function (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Send a command to an item') this.setTooltip('Send a command to an item')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#send-command') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#send-command')
} }
} }

View File

@ -16,7 +16,7 @@ export default function (f7) {
this.setColour(160) this.setColour(160)
this.setInputsInline(true) this.setInputsInline(true)
this.setTooltip('Pick an item from the Model') this.setTooltip('Pick an item from the Model')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#item')
this.setOutput(true, null) this.setOutput(true, null)
} }
} }
@ -37,7 +37,7 @@ export default function (f7) {
this.setOutput(true, 'Array') this.setOutput(true, 'Array')
this.setColour(0) this.setColour(0)
this.setTooltip('Retrieve the members of a group') this.setTooltip('Retrieve the members of a group')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-members-of-group') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-members-of-group')
this.setOutput(true, null) this.setOutput(true, null)
} }
} }
@ -58,7 +58,7 @@ export default function (f7) {
this.setOutput(true, 'Array') this.setOutput(true, 'Array')
this.setColour(0) this.setColour(0)
this.setTooltip('Retrieve the items that have all the given tags') this.setTooltip('Retrieve the items that have all the given tags')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-items-with-tag') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-items-with-tag')
this.setOutput(true, null) this.setOutput(true, null)
} }
} }
@ -86,7 +86,7 @@ export default function (f7) {
this.setOutput(true, 'oh_itemtype') this.setOutput(true, 'oh_itemtype')
this.setColour(0) this.setColour(0)
this.setTooltip('Get an item from the item registry') this.setTooltip('Get an item from the item registry')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-item')
} }
} }
@ -106,7 +106,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour(0) this.setColour(0)
this.setTooltip('Get an item state from the item registry') this.setTooltip('Get an item state from the item registry')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-state-of-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-state-of-item')
} }
} }
@ -144,7 +144,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour(0) this.setColour(0)
this.setTooltip('Retrieve a specific attribute from the item. Note that groups and tags return a list and should be used with the loops-block \'for each item ... in list\'. ') this.setTooltip('Retrieve a specific attribute from the item. Note that groups and tags return a list and should be used with the loops-block \'for each item ... in list\'. ')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-particular-attributes-of-an-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-particular-attributes-of-an-item')
}, },
/** /**
* Modify this block to have the correct output type based on the attribute. * Modify this block to have the correct output type based on the attribute.

View File

@ -20,7 +20,7 @@ export default function (f7) {
this.setOutput(true, 'Array') this.setOutput(true, 'Array')
this.setColour('%{BKY_LISTS_HUE}') this.setColour('%{BKY_LISTS_HUE}')
this.setTooltip('concatenate two arrays returning a new array') this.setTooltip('concatenate two arrays returning a new array')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#concatenate-list') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#concatenate-list')
} }
} }

View File

@ -13,7 +13,7 @@ export default function (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Print a message on the console') this.setTooltip('Print a message on the console')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#print-statement') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#print-statement')
} }
} }
@ -32,7 +32,7 @@ export default function (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Write a message in the openHAB log') this.setTooltip('Write a message in the openHAB log')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#log-statement') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-logging.html#log-statement')
} }
} }

View File

@ -16,7 +16,7 @@ export default function defineOHBlocks_Notifications (f7) {
this.setInputsInline(false) this.setInputsInline(false)
this.setColour(0) this.setColour(0)
this.setTooltip('Send a notification message to a specific openhab user') this.setTooltip('Send a notification message to a specific openhab user')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-specific-cloud-email-user') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-specific-cloud-email-user')
} }
} }
@ -43,7 +43,7 @@ export default function defineOHBlocks_Notifications (f7) {
this.setInputsInline(false) this.setInputsInline(false)
this.setColour(0) this.setColour(0)
this.setTooltip('send a notification to all clients. Provide icon name without prefix') this.setTooltip('send a notification to all clients. Provide icon name without prefix')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-all-devices-and-users') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-all-devices-and-users')
} }
} }
@ -71,7 +71,7 @@ export default function defineOHBlocks_Notifications (f7) {
this.setInputsInline(false) this.setInputsInline(false)
this.setColour(0) this.setColour(0)
this.setTooltip('Sends a notification to the log only not to any device') this.setTooltip('Sends a notification to the log only not to any device')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-log-only') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html#send-notification-to-log-only')
} }
} }

View File

@ -47,7 +47,7 @@ export default function defineOHBlocks_Persistence (f7) {
} }
return TIP[methodName] return TIP[methodName]
}) })
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#get-statistical-value-of-an-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#get-statistical-value-of-an-item')
}, },
handleTypeSelection: function (methodName) { handleTypeSelection: function (methodName) {
if (this.methodName !== methodName) { if (this.methodName !== methodName) {
@ -148,7 +148,7 @@ export default function defineOHBlocks_Persistence (f7) {
return TIP[methodName] return TIP[methodName]
}) })
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#check-item-change-update-since-a-point-in-time') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#check-item-change-update-since-a-point-in-time')
} }
} }
@ -180,7 +180,7 @@ export default function defineOHBlocks_Persistence (f7) {
this.setOutput(true, 'ZonedDateTime') this.setOutput(true, 'ZonedDateTime')
this.setColour(0) this.setColour(0)
this.setTooltip('Get the last update time of the provided item') this.setTooltip('Get the last update time of the provided item')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#provide-last-updated-date-of-an-item') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html#provide-last-updated-date-of-an-item')
} }
} }

View File

@ -22,7 +22,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Calls a script file which must be located in the $OPENHAB_CONF/scripts folder') this.setTooltip('Calls a script file which must be located in the $OPENHAB_CONF/scripts folder')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#call-script-file') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#call-script-file')
} }
} }
@ -57,7 +57,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Run a rule or script with a certain UID, and optional parameters') this.setTooltip('Run a rule or script with a certain UID, and optional parameters')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#run-rule-or-script-created-in-ui') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#run-rule-or-script-created-in-ui')
} }
} }
@ -127,7 +127,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
}) })
this.setHelpUrl(function () { this.setHelpUrl(function () {
const type = thisBlock.getFieldValue('type') const type = thisBlock.getFieldValue('type')
return 'https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#transform-values-via-map-regex-or-jsonpath-and-others' + type.toLowerCase() + '/' return 'https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#transform-values-via-map-regex-or-jsonpath-and-others' + type.toLowerCase() + '/'
}) })
} }
} }
@ -181,7 +181,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
} }
return TIP[contextData] return TIP[contextData]
}) })
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-rule-context-information') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-rule-context-information')
} }
} }
@ -203,7 +203,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
this.setInputsInline(false) this.setInputsInline(false)
this.setOutput(true, 'any') this.setOutput(true, 'any')
this.setColour(0) this.setColour(0)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-context-attribute-from-rule') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#retrieve-context-attribute-from-rule')
this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script') this.setTooltip('Retrieve a specified attribute from the context that could be set from a calling rule or script')
} }
} }
@ -232,7 +232,7 @@ export default function defineOHBlocks_Scripts (f7, scripts) {
this.setPreviousStatement(true, null) this.setPreviousStatement(true, null)
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#inline-script') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html#inline-script')
this.setTooltip('Allows inlining arbitrary script code which has to be syntactically correct') this.setTooltip('Allows inlining arbitrary script code which has to be syntactically correct')
} }
} }

View File

@ -17,7 +17,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour('%{BKY_TEXTS_HUE}') this.setColour('%{BKY_TEXTS_HUE}')
this.setTooltip('Returns a carriage return line feed (\\r\\n).') this.setTooltip('Returns a carriage return line feed (\\r\\n).')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#crlf') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#crlf')
} }
} }
@ -47,7 +47,7 @@ export default function (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour('%{BKY_TEXTS_HUE}') this.setColour('%{BKY_TEXTS_HUE}')
this.setTooltip('returns a new string with one, some, or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegEx. If it is a string, all occurences are replaced.') this.setTooltip('returns a new string with one, some, or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegEx. If it is a string, all occurences are replaced.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#text-replace') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#text-replace')
} }
} }

View File

@ -15,7 +15,7 @@ export default function defineOHBlocks (f7) {
this.setColour(160) this.setColour(160)
this.setInputsInline(true) this.setInputsInline(true)
this.setTooltip('Pick a thing from the Thing List') this.setTooltip('Pick a thing from the Thing List')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#thing') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#thing')
this.setOutput(true, null) this.setOutput(true, null)
} }
} }
@ -35,7 +35,7 @@ export default function defineOHBlocks (f7) {
this.setOutput(true, 'String') this.setOutput(true, 'String')
this.setColour(0) this.setColour(0)
this.setTooltip('Gets status information of the given thing, e.g. if the thing is online') this.setTooltip('Gets status information of the given thing, e.g. if the thing is online')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-thing-status') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html#get-thing-status')
} }
} }

View File

@ -19,7 +19,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setPreviousStatement(true, null) this.setPreviousStatement(true, null)
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#wait-for') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#wait-for')
this.setTooltip('Waits for the specified milliseconds') this.setTooltip('Waits for the specified milliseconds')
} }
} }
@ -60,7 +60,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setPreviousStatement(true, null) this.setPreviousStatement(true, null)
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setTooltip('Create a named timer') this.setTooltip('Create a named timer')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer')
} }
} }
@ -110,7 +110,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Simple Timer creation with control over rule retriggering action') this.setTooltip('Simple Timer creation with control over rule retriggering action')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer-with-options-on-retriggering-rule') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#after-period-of-time-do-with-timer-with-options-on-retriggering-rule')
} }
} }
@ -169,7 +169,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setOutput(true, 'Boolean') this.setOutput(true, 'Boolean')
this.setColour(0) this.setColour(0)
this.setTooltip('returns true if the timer will be executed as scheduled, i.e. it has not been cancelled or completed') this.setTooltip('returns true if the timer will be executed as scheduled, i.e. it has not been cancelled or completed')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-active') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-active')
} }
} }
@ -202,7 +202,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setOutput(true, 'Boolean') this.setOutput(true, 'Boolean')
this.setColour(0) this.setColour(0)
this.setTooltip('returns true if the code is currently executing (i.e. the timer activated the code but it is not done running)') this.setTooltip('returns true if the code is currently executing (i.e. the timer activated the code but it is not done running)')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-running') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-is-running')
} }
} }
@ -234,7 +234,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setOutput(true, 'Boolean') this.setOutput(true, 'Boolean')
this.setColour(0) this.setColour(0)
this.setTooltip('returns true if the code has run and completed.') this.setTooltip('returns true if the code has run and completed.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-has-terminated') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#timer-has-terminated')
} }
} }
@ -264,7 +264,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('Cancels a named timer') this.setTooltip('Cancels a named timer')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#cancel-timer') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#cancel-timer')
} }
} }
@ -304,7 +304,7 @@ export default function defineOHBlocks_Timers (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('reschedules the timer to execute at the new time. If the Timer has terminated this method does nothing.') this.setTooltip('reschedules the timer to execute at the new time. If the Timer has terminated this method does nothing.')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#reschedule-timer') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html#reschedule-timer')
} }
} }

View File

@ -20,7 +20,7 @@ export default function defineOHBlocks_Variables (f7) {
this.setNextStatement(true, null) this.setNextStatement(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('stores a value with a variable name that can be retrieved on subsequent runs of this rule/script') this.setTooltip('stores a value with a variable name that can be retrieved on subsequent runs of this rule/script')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#store-value') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#store-value')
} }
} }
@ -42,7 +42,7 @@ export default function defineOHBlocks_Variables (f7) {
this.setOutput(true, null) this.setOutput(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('retrieves the value that was previously stored for that particular script/rule') this.setTooltip('retrieves the value that was previously stored for that particular script/rule')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#get-stored-value') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#get-stored-value')
} }
} }
@ -61,7 +61,7 @@ export default function defineOHBlocks_Variables (f7) {
this.setOutput(true, null) this.setOutput(true, null)
this.setColour(0) this.setColour(0)
this.setTooltip('returns whether the given value is undefined') this.setTooltip('returns whether the given value is undefined')
this.setHelpUrl('https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#check-if-value-is-undefined') this.setHelpUrl('https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html#check-if-value-is-undefined')
} }
} }

View File

@ -2,7 +2,7 @@
* Dropdown field populated with audio sinks found in the system. * Dropdown field populated with audio sinks found in the system.
* CURRENTLY UNUSED * CURRENTLY UNUSED
* *
* See more background info on openHAB multimedia here: https://www.openhab.org/docs/configuration/multimedia.html * See more background info on openHAB multimedia here: https://v34.openhab.org/docs/configuration/multimedia.html
*/ */
import Blockly from 'blockly' import Blockly from 'blockly'

View File

@ -28,7 +28,7 @@ export const OhMapPageDefinition = () => new WidgetDefinition('oh-map-page', 'Ma
export const OhMapMarkerDefinition = () => new WidgetDefinition('oh-map-marker', 'Map Marker', 'An icon on a map', 'map_pin') export const OhMapMarkerDefinition = () => new WidgetDefinition('oh-map-marker', 'Map Marker', 'An icon on a map', 'map_pin')
.paramGroup(pg('marker', 'Marker', 'General marker settings'), [ .paramGroup(pg('marker', 'Marker', 'General marker settings'), [
LabelParam(), LabelParam(),
pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>)') pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>)')
]) ])
.paramGroup(pg('position', 'Position', 'Position'), [ .paramGroup(pg('position', 'Position', 'Position'), [
ItemParam(), ItemParam(),

View File

@ -32,7 +32,7 @@ export const OhPlanMarkerDefinition = () => new WidgetDefinition('oh-plan-marker
pi('item', 'Item', 'The item whose state to display on this marker') pi('item', 'Item', 'The item whose state to display on this marker')
]) ])
.paramGroup(pg('icon', 'Icon', 'You can customize the styles further with CSS attributes in the <code>iconStyle</code> parameter (in YAML only)'), [ .paramGroup(pg('icon', 'Icon', 'You can customize the styles further with CSS attributes in the <code>iconStyle</code> parameter (in YAML only)'), [
pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'), pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'),
pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)'), pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)'),
pn('iconSize', 'Icon Size', 'Size of the icon in pixels (40 by default)'), pn('iconSize', 'Icon Size', 'Size of the icon in pixels (40 by default)'),
pn('iconWidth', 'Icon Width', 'Width of the icon in pixels (for openHAB icons only, 40 by default)').a(), pn('iconWidth', 'Icon Width', 'Width of the icon in pixels (for openHAB icons only, 40 by default)').a(),

View File

@ -25,7 +25,7 @@ export const OhLabelCardDefinition = () => new WidgetDefinition('oh-label-card',
pt('background', 'Background style', 'Background style (in CSS "background" attribute format)'), pt('background', 'Background style', 'Background style (in CSS "background" attribute format)'),
pt('fontSize', 'Font Size', 'Font size (e.g. "34px")'), pt('fontSize', 'Font Size', 'Font size (e.g. "34px")'),
pt('fontWeight', 'Font Weight', 'Font weight (e.g. "normal" or "bold")'), pt('fontWeight', 'Font Weight', 'Font weight (e.g. "normal" or "bold")'),
pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'), pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'),
pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(), pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(),
pn('iconSize', 'Icon Size', 'Size of the icon in px').a(), pn('iconSize', 'Icon Size', 'Size of the icon in px').a(),
pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a(), pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a(),

View File

@ -11,7 +11,7 @@ export const CellParameters = () => [
pt('title', 'Title', 'Title of the cell'), pt('title', 'Title', 'Title of the cell'),
pt('subtitle', 'Subtitle', 'Subtitle of the cell'), pt('subtitle', 'Subtitle', 'Subtitle of the cell'),
pt('footer', 'Footer', 'Footer of the cell'), pt('footer', 'Footer', 'Footer of the cell'),
pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'), pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'),
pt('color', 'Highlight Color', 'Color to use when highlighted'), pt('color', 'Highlight Color', 'Color to use when highlighted'),
pt('on', '"On" expression', 'Expression to determine when the card should be highlighted. If blank, determine automatically from the primary bound item if applicable.').a() pt('on', '"On" expression', 'Expression to determine when the card should be highlighted. If blank, determine automatically from the primary bound item if applicable.').a()
] ]

View File

@ -9,7 +9,7 @@ export const ListItemParameters = () => [
pt('title', 'Title', 'Title of the item'), pt('title', 'Title', 'Title of the item'),
pt('subtitle', 'Subtitle', 'Subtitle of the item'), pt('subtitle', 'Subtitle', 'Subtitle of the item'),
pt('after', 'After', 'Text to display on the opposite side of the item (set either this or a badge)').a(), pt('after', 'After', 'Text to display on the opposite side of the item (set either this or a badge)').a(),
pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'), pt('icon', 'Icon', 'Use <code>oh:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons/">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'),
pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(), pt('iconColor', 'Icon Color', 'Not applicable to openHAB icons').a(),
pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a() pb('iconUseState', 'Icon depends on state', 'Use the state of the item to get a dynamic icon (for openHAB icons only)').a()
] ]

View File

@ -1,7 +1,7 @@
import { pb, pi, pt } from '../helpers.js' import { pb, pi, pt } from '../helpers.js'
export default () => [ export default () => [
pb('icon', 'Icon', '<code>oh:iconName</code> or <code>iconName</code> (<a class="external text-color-blue" target="_blank" href="https://www.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'), pb('icon', 'Icon', '<code>oh:iconName</code> or <code>iconName</code> (<a class="external text-color-blue" target="_blank" href="https://v34.openhab.org/link/icons">openHAB icon</a>), <code>f7:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://framework7.io/icons">Framework7 icon</a>), <code>material:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://jossef.github.io/material-design-icons-iconfont/">Material icon</a>) or <code>iconify:iconSet:iconName</code> (<a class="external text-color-blue" target="_blank" href="https://icon-sets.iconify.design">Iconify icon</a>, requires being online if not in cache)'),
pi('width', 'Width', 'Width of the icon in pixels'), pi('width', 'Width', 'Width of the icon in pixels'),
pi('height', 'Height', 'Height of the icon in pixels'), pi('height', 'Height', 'Height of the icon in pixels'),
pt('color', 'Color', 'Color of the icon (for F7/Material icons, a <a class="external text-color-blue" target="_blank" href="https://v5.framework7.io/docs/color-themes.html#colors">Framework7 color theme</a>, for Iconify icons, a CSS color). Not applicable to OH icons.'), pt('color', 'Color', 'Color of the icon (for F7/Material icons, a <a class="external text-color-blue" target="_blank" href="https://v5.framework7.io/docs/color-themes.html#colors">Framework7 color theme</a>, for Iconify icons, a CSS color). Not applicable to OH icons.'),

View File

@ -273,12 +273,12 @@
"addItem": { "addItem": {
"!doc": "Creates a new Item within openHAB (see JS Scripting docs/Standard Library/Items).", "!doc": "Creates a new Item within openHAB (see JS Scripting docs/Standard Library/Items).",
"!type": "fn(itemConfig: ItemConfig) -> Item", "!type": "fn(itemConfig: ItemConfig) -> Item",
"!url": "https://openhab.org/addons/automation/jsscripting/#itemconfig" "!url": "https://v34.openhab.org/addons/automation/jsscripting/#itemconfig"
}, },
"replaceItem": { "replaceItem": {
"!doc": "Replaces (upserts) an item. If an Item does not exist with this name, a new Item will be created with the supplied configuration (see JS Scripting docs/Standard Library/Items).", "!doc": "Replaces (upserts) an item. If an Item does not exist with this name, a new Item will be created with the supplied configuration (see JS Scripting docs/Standard Library/Items).",
"!type": "fn(itemConfig: ItemConfig) -> Item", "!type": "fn(itemConfig: ItemConfig) -> Item",
"!url": "https://openhab.org/addons/automation/jsscripting/#itemconfig" "!url": "https://v34.openhab.org/addons/automation/jsscripting/#itemconfig"
}, },
"removeItem": { "removeItem": {
"!doc": "Removes an Item from openHAB. The Item is removed immediately and cannot be recovered.", "!doc": "Removes an Item from openHAB. The Item is removed immediately and cannot be recovered.",

View File

@ -143,8 +143,7 @@ export default {
}, },
imageUrl () { imageUrl () {
if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://')
let docsBranch = 'final' let docsBranch = 'final-3.4.x'
if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable'
return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png`
} }
}, },

View File

@ -123,7 +123,7 @@ export default {
id: 'documentationLink', id: 'documentationLink',
title: 'Documentation', title: 'Documentation',
afterIcon: 'question_circle_fill', afterIcon: 'question_circle_fill',
linkUrl: `https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}/${this.addon.id.split('-')[1]}` // this.addon.link linkUrl: `https://v34.openhab.org/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}/${this.addon.id.split('-')[1]}` // this.addon.link
}) })
let repository let repository

View File

@ -74,8 +74,7 @@ export default {
computed: { computed: {
imageUrl () { imageUrl () {
if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://')
let docsBranch = 'final' let docsBranch = 'final-3.4.x'
if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable'
return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png`
} }
}, },

View File

@ -88,7 +88,7 @@ export default {
multiple: !!this.metadata.value && this.metadata.value.indexOf(',') > 0, multiple: !!this.metadata.value && this.metadata.value.indexOf(',') > 0,
classSelectKey: this.$f7.utils.id(), classSelectKey: this.$f7.utils.id(),
docUrl: docUrl:
`https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org` + 'https://v34.openhab.org' +
'/link/alexa', '/link/alexa',
ready: false ready: false
} }

View File

@ -28,7 +28,7 @@
<config-sheet :parameterGroups="[]" :parameters="parameters" :configuration="metadata.config" /> <config-sheet :parameterGroups="[]" :parameters="parameters" :configuration="metadata.config" />
</div> </div>
<p class="padding"> <p class="padding">
<f7-link color="blue" external target="_blank" href="https://www.openhab.org/link/google-assistant"> <f7-link color="blue" external target="_blank" href="https://v34.openhab.org/link/google-assistant">
Google Assistant Integration Documentation Google Assistant Integration Documentation
</f7-link> </f7-link>
</p> </p>

View File

@ -53,7 +53,7 @@
</f7-block-footer> </f7-block-footer>
</f7-block> </f7-block>
<p class="padding"> <p class="padding">
<f7-link color="blue" external target="_blank" href="https://www.openhab.org/link/homekit"> <f7-link color="blue" external target="_blank" href="https://v34.openhab.org/link/homekit">
HomeKit integration documentation HomeKit integration documentation
</f7-link> </f7-link>
</p> </p>

View File

@ -10,8 +10,8 @@
<h2 v-if="$store.state.runtimeInfo" class="block-title-medium"> <h2 v-if="$store.state.runtimeInfo" class="block-title-medium">
openHAB {{ $store.state.runtimeInfo.version }}<br><small>{{ $store.state.runtimeInfo.buildString }}</small> openHAB {{ $store.state.runtimeInfo.version }}<br><small>{{ $store.state.runtimeInfo.buildString }}</small>
</h2> </h2>
<p><f7-link external target="_blank" href="https://www.openhab.org/" v-t="'about.homePage'" /></p> <p><f7-link external target="_blank" href="https://v34.openhab.org/" v-t="'about.homePage'" /></p>
<p><f7-link external target="_blank" href="https://www.openhab.org/docs/" v-t="'about.documentation'" /></p> <p><f7-link external target="_blank" href="https://v34.openhab.org/docs/" v-t="'about.documentation'" /></p>
<p><f7-link external target="_blank" href="https://community.openhab.org/" v-t="'about.communityForum'" /></p> <p><f7-link external target="_blank" href="https://community.openhab.org/" v-t="'about.communityForum'" /></p>
</f7-block> </f7-block>
</f7-col> </f7-col>

View File

@ -274,7 +274,7 @@ export default {
config: { config: {
template: template:
'/* Incomplete example skeleton, check out\n' + '/* Incomplete example skeleton, check out\n' +
' https://openhab.org/link/blocklib-tutorial\n' + ' https://v34.openhab.org/link/blocklib-tutorial\n' +
' to learn how to build block libraries */\n' ' to learn how to build block libraries */\n'
} }
} }

View File

@ -16,9 +16,9 @@
<div class="empty-overview" v-else-if="!inChatSession"> <div class="empty-overview" v-else-if="!inChatSession">
<empty-state-placeholder icon="house" title="overview.title" text="overview.text" /> <empty-state-placeholder icon="house" title="overview.title" text="overview.text" />
<f7-row class="display-flex justify-content-center"> <f7-row class="display-flex justify-content-center">
<f7-button large fill color="blue" external href="https://openhab.org/link/docs" target="_blank" v-t="'home.overview.button.documentation'" /> <f7-button large fill color="blue" external href="https://v34.openhab.org/link/docs" target="_blank" v-t="'home.overview.button.documentation'" />
<span style="width: 8px" /> <span style="width: 8px" />
<f7-button large color="blue" external href="https://openhab.org/link/tutorial" target="_blank" v-t="'home.overview.button.tutorial'" /> <f7-button large color="blue" external href="https://v34.openhab.org/link/tutorial" target="_blank" v-t="'home.overview.button.tutorial'" />
</f7-row> </f7-row>
</div> </div>
</div> </div>

View File

@ -215,8 +215,7 @@ export default {
imageUrl () { imageUrl () {
if (!this.addon) return null if (!this.addon) return null
if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://') if (this.addon.imageLink) return this.addon.imageLink.replace(/^\/\//, 'https://')
let docsBranch = 'final' let docsBranch = 'final-3.4.x'
if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable'
return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png` return `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/images/addons/${this.addon.id.substring(this.addon.id.indexOf('-') + 1)}.png`
}, },
addonDescription () { addonDescription () {
@ -234,7 +233,7 @@ export default {
if (!this.addon) return '' if (!this.addon) return ''
if (this.serviceId && this.serviceId !== 'karaf' && this.addon.link) return this.addon.link if (this.serviceId && this.serviceId !== 'karaf' && this.addon.link) return this.addon.link
if (this.addon.id.indexOf('-') > 0) { if (this.addon.id.indexOf('-') > 0) {
let url = `https://${this.$store.state.runtimeInfo.buildString === 'Release Build' ? 'www' : 'next'}.openhab.org` + let url = 'https://v34.openhab.org' +
`/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}` + `/addons/${this.addon.type.replace('misc', 'integrations').replace('binding', 'bindings').replace('transformation', 'transformations')}` +
`/${this.addon.id.split('-')[1]}` `/${this.addon.id.split('-')[1]}`
return url return url
@ -288,13 +287,12 @@ export default {
processDescription () { processDescription () {
if (!this.addon.description && this.addon.author === 'openHAB') { if (!this.addon.description && this.addon.author === 'openHAB') {
// assuming the add-on is an official one (distribution), try to fetch the documentation from GitHub // assuming the add-on is an official one (distribution), try to fetch the documentation from GitHub
let docsBranch = 'final' let docsBranch = 'final-3.4.x'
if (this.$store.state.runtimeInfo.buildString === 'Release Build') docsBranch = 'final-stable'
let addonTypeFolder = '_addons_' + this.addon.type let addonTypeFolder = '_addons_' + this.addon.type
if (this.addon.type === 'misc') addonTypeFolder = '_addons_io' if (this.addon.type === 'misc') addonTypeFolder = '_addons_io'
if (this.addon.type !== 'automation') addonTypeFolder += 's' if (this.addon.type !== 'automation') addonTypeFolder += 's'
let addonId = this.addon.id.split('-')[1] let addonId = this.addon.id.split('-')[1]
let docUrl = (this.$store.state.runtimeInfo.buildString === 'Release Build') ? 'https://www.openhab.org' : 'https://next.openhab.org' let docUrl = (this.$store.state.runtimeInfo.buildString === 'Release Build') ? 'https://v34.openhab.org' : 'https://next.openhab.org'
docUrl += `/addons/${this.addon.type}/${addonId}` docUrl += `/addons/${this.addon.type}/${addonId}`
let docSrcUrl = `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/${addonTypeFolder}/${addonId}` let docSrcUrl = `https://raw.githubusercontent.com/openhab/openhab-docs/${docsBranch}/${addonTypeFolder}/${addonId}`

View File

@ -231,7 +231,7 @@
<category name="Lists" colour="%{BKY_LISTS_HUE}"> <category name="Lists" colour="%{BKY_LISTS_HUE}">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#lists" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#lists"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="lists_create_with"> <block type="lists_create_with">
@ -297,7 +297,7 @@
<category name="Color" colour="%{BKY_COLOUR_HUE}"> <category name="Color" colour="%{BKY_COLOUR_HUE}">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#colors" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-standard-ext.html#colors"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="colour_picker" /> <block type="colour_picker" />
@ -348,7 +348,7 @@
<category name="openHAB" colour="0" :expanded="$f7.device.desktop"> <category name="openHAB" colour="0" :expanded="$f7.device.desktop">
<category name="Items &amp; Things"> <category name="Items &amp; Things">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-items-things.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_getitem_state"> <block type="oh_getitem_state">
@ -402,7 +402,7 @@
<category name="Timers &amp; Delays"> <category name="Timers &amp; Delays">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-timers-and-delays.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_sleep" /> <block type="oh_sleep" />
@ -475,7 +475,7 @@
<category name="Voice &amp; Multimedia"> <category name="Voice &amp; Multimedia">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-voice-and-multimedia.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_playmedia_sink"> <block type="oh_playmedia_sink">
@ -535,7 +535,7 @@
</category> </category>
<category name="Dates &amp; Times"> <category name="Dates &amp; Times">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-date-handling.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_zdt_now" /> <block type="oh_zdt_now" />
@ -656,7 +656,7 @@
<category name="Ephemeris"> <category name="Ephemeris">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-ephemeris.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_ephemeris_check"> <block type="oh_ephemeris_check">
@ -680,7 +680,7 @@
<category name="Notifications"> <category name="Notifications">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-notifications.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_sendNotification"> <block type="oh_sendNotification">
@ -726,7 +726,7 @@
<category name="Persistence"> <category name="Persistence">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-persistence.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_zdt_plusminus"> <block type="oh_zdt_plusminus">
@ -797,7 +797,7 @@
<category name="Value Storage"> <category name="Value Storage">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-value-storage.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_store_value"> <block type="oh_store_value">
@ -830,7 +830,7 @@
<category name="Run &amp; Process"> <category name="Run &amp; Process">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-run-and-process.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_callscriptfile"> <block type="oh_callscriptfile">
@ -880,7 +880,7 @@
<category name="Logging &amp; Output"> <category name="Logging &amp; Output">
<button <button
helpUrl="https://www.openhab.org/docs/configuration/blockly/rules-blockly-logging.html" helpUrl="https://v34.openhab.org/docs/configuration/blockly/rules-blockly-logging.html"
text="Help" text="Help"
callbackKey="ohBlocklyHelp" /> callbackKey="ohBlocklyHelp" />
<block type="oh_log"> <block type="oh_log">

View File

@ -80,7 +80,7 @@
<f7-block-title>Profile</f7-block-title> <f7-block-title>Profile</f7-block-title>
<f7-block-footer class="padding-left padding-right"> <f7-block-footer class="padding-left padding-right">
Profiles define how Channels and Items work together. Install transformation add-ons to get additional profiles. Profiles define how Channels and Items work together. Install transformation add-ons to get additional profiles.
<f7-link external color="blue" target="_blank" href="https://www.openhab.org/link/profiles"> <f7-link external color="blue" target="_blank" href="https://v34.openhab.org/link/profiles">
Learn more about profiles. Learn more about profiles.
</f7-link> </f7-link>
</f7-block-footer> </f7-block-footer>

View File

@ -48,7 +48,7 @@
<f7-block-title>Profile</f7-block-title> <f7-block-title>Profile</f7-block-title>
<f7-block-footer class="padding-left padding-right"> <f7-block-footer class="padding-left padding-right">
Profiles define how Channels and Items work together. Install transformation add-ons to get additional profiles. Profiles define how Channels and Items work together. Install transformation add-ons to get additional profiles.
<f7-link external color="blue" target="_blank" href="https://www.openhab.org/link/profiles"> <f7-link external color="blue" target="_blank" href="https://v34.openhab.org/link/profiles">
Learn more about profiles. Learn more about profiles.
</f7-link> </f7-link>
<f7-block v-if="!ready" class="text-align-center"> <f7-block v-if="!ready" class="text-align-center">

View File

@ -118,7 +118,7 @@
</f7-block> </f7-block>
<f7-block strong> <f7-block strong>
{{ $t('setupwizard.addons.header1') }}<br>{{ $t('setupwizard.addons.header2') }}<br><br> {{ $t('setupwizard.addons.header1') }}<br>{{ $t('setupwizard.addons.header2') }}<br><br>
<a class="text-color-blue external" target="_blank" href="https://www.openhab.org/addons/" v-t="'setupwizard.addons.browseAddonsOnWebsite'" /> <a class="text-color-blue external" target="_blank" href="https://v34.openhab.org/addons/" v-t="'setupwizard.addons.browseAddonsOnWebsite'" />
</f7-block> </f7-block>
<f7-block class="padding"> <f7-block class="padding">
<f7-row> <f7-row>