Skip to content

fix for Status node sends messages on device state change without input trigger #195#196

Merged
NorthernMan54 merged 5 commits intomainfrom
beta-0.3.3
Jan 23, 2026
Merged

fix for Status node sends messages on device state change without input trigger #195#196
NorthernMan54 merged 5 commits intomainfrom
beta-0.3.3

Conversation

@NorthernMan54
Copy link
Copy Markdown
Owner

No description provided.

Bumps the npm-dependencies group with 4 updates in the / directory: [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [eslint](https://github.com/eslint/eslint), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) and [globals](https://github.com/sindresorhus/globals).


Updates `@eslint/js` from 9.39.1 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v9.39.2/packages/js)

Updates `eslint` from 9.39.1 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.1...v9.39.2)

Updates `eslint-plugin-jest` from 29.2.1 to 29.12.0
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v29.2.1...v29.12.0)

Updates `globals` from 16.5.0 to 17.0.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v16.5.0...v17.0.0)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-dependencies
- dependency-name: eslint-plugin-jest
  dependency-version: 29.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-dependencies
- dependency-name: globals
  dependency-version: 17.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copy link
Copy Markdown
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 issue #195 where the status node was incorrectly sending messages on device state changes without an input trigger. The fix restores the original behavior by commenting out the handleHBEventMessage method in the status node, directing users to use the event node instead for receiving all events.

Changes:

  • Removed handleHBEventMessage method from status node to prevent automatic event emission
  • Updated Node-RED test environment to version 4.1.2 with new configuration features
  • Bumped package version to 0.3.3

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/hbStatusNode.js Commented out handleHBEventMessage method to fix unwanted event emissions
package.json Version bump to 0.3.3, updated dependencies (Node-RED 4.1.2, globals 17.0.0), improved dev scripts
test/node-red/settings.js Updated settings file for Node-RED 4.1.2 with telemetry config, globalFunctionTimeout, and formatting improvements
test/node-red/test/node-red/. Removed runtime-generated configuration files
README.md Added release notes for version 0.3.3 documenting the breaking change and fix

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

Comment thread src/hbStatusNode.js Outdated

}

/* #194 - Removed - see event node
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The comment references issue #194, but the PR title and README.md both reference issue #195. Please verify which issue number is correct and update accordingly to maintain consistency.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

Comment thread package.json Outdated
Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 23, 2026

@NorthernMan54 I've opened a new pull request, #201, to work on those changes. Once the pull request is ready, I'll request review from you.

NorthernMan54 and others added 2 commits January 23, 2026 17:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan

* Fix issue number in comment from #194 to #195

Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
@NorthernMan54 NorthernMan54 changed the title fix for issue #195 fix for Status node sends messages on device state change without input trigger #195 Jan 23, 2026
@NorthernMan54 NorthernMan54 merged commit f5bf770 into main Jan 23, 2026
5 checks passed
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.

Status node sends messages on device state change without input trigger

3 participants