Skip to content

Fixes#3220

Merged
benderl merged 3 commits intoopenWB:masterfrom
benderl:fixes
Mar 19, 2026
Merged

Fixes#3220
benderl merged 3 commits intoopenWB:masterfrom
benderl:fixes

Conversation

@benderl
Copy link
Contributor

@benderl benderl commented Mar 19, 2026

  • fix mqtt version in classic themes SmartHome page
  • fix missing parameter no_json in Pub().pub(), used by legacy SmartHome

@benderl benderl requested a review from Copilot March 19, 2026 09:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates legacy SmartHome web theme assets and MQTT publishing helper to restore compatibility with classic themes and legacy SmartHome message formats.

Changes:

  • Switch classic theme SmartHome page to load the MQTT library version used elsewhere in the legacy theme.
  • Extend Pub().pub() to support a no_json flag and wire it through pub_single() so legacy SmartHome can publish raw payloads when needed.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/modules/web_themes/standard_legacy/web/smartHome.html Updates MQTT library script reference for the legacy SmartHome page.
packages/helpermodules/pub.py Adds no_json support to Pub().pub() and forwards it through pub_single(); simplifies remote publish serialization logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@benderl benderl self-assigned this Mar 19, 2026
@benderl benderl added the bug Something isn't working label Mar 19, 2026
@benderl benderl merged commit e408f5f into openWB:master Mar 19, 2026
1 check passed
@benderl benderl deleted the fixes branch March 19, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants