Skip to content

Fix invalid variable references in UniFi & TfL#21

Merged
clarkd merged 3 commits intomainfrom
work/dc/variable-ref
Feb 5, 2026
Merged

Fix invalid variable references in UniFi & TfL#21
clarkd merged 3 commits intomainfrom
work/dc/variable-ref

Conversation

@clarkd
Copy link
Member

@clarkd clarkd commented Feb 4, 2026

📋 Summary

Fixes some missing variable references as a result of an export bug.

🔗 Related issue(s)


🧩 Plugin details

  • Plugin name: UniFi, TfL
  • Type of change:
    • Bug fix
    • New datastream
    • Enhancement to existing datastream
    • Performance improvement
    • Documentation / metadata / logo
    • Other (please describe):

⚠️ Breaking changes

Does this PR introduce any breaking changes?

  • No
  • Yes (please describe):

If yes, describe:

  • What breaks
  • Who is impacted
  • Any migration steps

📚 Documentation

  • Documentation updated
  • No documentation changes needed

✅ Checklist

  • No secrets or credentials included
  • Plugin, datastream and UI naming follow SquaredUp guidelines
  • I agree to the Code of Conduct

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

This PR fixes missing variable references in dashboard configuration files for the UniFi and TfL plugins that were introduced due to an export bug. The changes ensure that dashboard tiles have complete variable configuration required by the platform.

Changes:

  • Added missing variable field to scope objects in UniFi device dashboards (protectDevice, networkDevice, and accessDevice)
  • Added missing variables arrays at both tile and dashboard levels in TfL lineStatus dashboard
  • Bumped version numbers for both UniFi and TfL plugins from 1.0.3 to 1.0.4

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
plugins/UniFi/v1/metadata.json Version bumped to 1.0.4
plugins/UniFi/v1/defaultContent/Devices/protectDevice.dash.json Added missing variable field to scope objects in 4 tiles
plugins/UniFi/v1/defaultContent/Devices/networkDevice.dash.json Added missing variable field to scope objects in 4 tiles
plugins/UniFi/v1/defaultContent/Devices/accessDevice.dash.json Added missing variable field to scope objects in 4 tiles
plugins/TransportForLondon/v1/metadata.json Version bumped to 1.0.4
plugins/TransportForLondon/v1/defaultContent/lineStatus.dash.json Added missing variables arrays at tile and dashboard levels

@clarkd clarkd merged commit cf1e1d4 into main Feb 5, 2026
@clarkd clarkd deleted the work/dc/variable-ref branch February 5, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants