Skip to content

Various maintenance tasks #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Various maintenance tasks #51

wants to merge 10 commits into from

Conversation

DerAndereAndi
Copy link
Member

@DerAndereAndi DerAndereAndi commented Jan 23, 2025

  • Improve device change handling
  • Fix ActuatorLevel model issues
  • Fix comment typos
  • Some code cleanup and minor updates
  • Update dependencies

- Fix ActuatorLevel model issues
- Fix comment typos
@coveralls
Copy link

coveralls commented Jan 23, 2025

Coverage Status

coverage: 93.906% (+0.01%) from 93.893%
when pulling 91479d4 on feature/maintenance
into 114e2d0 on dev.

@DerAndereAndi DerAndereAndi self-assigned this Jan 28, 2025
@DerAndereAndi DerAndereAndi added this to the Version 0.8 milestone Jan 28, 2025
Previously if multiple entities where added in an update, addition was happening also multiple times for every entity. Also a removed entity was “added” as well. The code checked if the entity already existed and exited, so there was no issue with this. But it was unnecessary to do so.

This change adds the option to only add a specific entity of a dataset to improve this.
Use DeviceRemote and EntityRemote of a message directly as they have to be available, instead of getting them via FeatureRemote.
Instead of using the `message.FeatureRemote` in the DeviceChange message, change the logic in device_local.

When a remote device is adding, we need to send a subscription request to the NodeManagement feature. As the remote device, the entity address, feature type and role are all known, fetch the feature and its address.
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.

2 participants