Skip to content

jsr223: adjust for new name in Python 3 settings - #2669

Merged
florian-h05 merged 2 commits into
openhab:mainfrom
dilyanpalauzov:python_env_disable_completely
Mar 30, 2026
Merged

jsr223: adjust for new name in Python 3 settings#2669
florian-h05 merged 2 commits into
openhab:mainfrom
dilyanpalauzov:python_env_disable_completely

Conversation

@dilyanpalauzov

Copy link
Copy Markdown
Contributor

This adjusts the scriptUnloaded() example for Python 3, based on the settings names from openhab/openhab-addons#20289.

@netlify

netlify Bot commented Mar 2, 2026

Copy link
Copy Markdown

Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).

Name Link
🔨 Latest commit dc358bb
🔍 Latest deploy log https://app.netlify.com/projects/openhab-docs-preview/deploys/69ca7334d73fdf000809fe32
😎 Deploy Preview https://deploy-preview-2669--openhab-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@HolgerHees

Copy link
Copy Markdown
Contributor

LGTM

Comment thread configuration/jsr223.md Outdated
::: tab Python

When the setting "Use scope and import wrapper" is enabled, the `scope` module is available:
When the setting “Python environment” is not “Disable completely”:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use proper quotes:

Suggested change
When the setting Python environment is not Disable completely:
When the setting "Python environment" is not "Disable completely":

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use proper quotes. https://www.openhab.org/docs/#putting-it-into-practice also uses proper quotes

Signed-off-by: Florian Hotze <dev@florianhotze.com>
@florian-h05 florian-h05 added this to the 5.2 milestone Mar 30, 2026
@florian-h05
florian-h05 merged commit e6e0087 into openhab:main Mar 30, 2026
4 of 5 checks passed
@dilyanpalauzov
dilyanpalauzov deleted the python_env_disable_completely branch March 30, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants