Skip to content

Conversation

@helto4real
Copy link
Collaborator

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the [development checklist][dev-checklist]
  • The code compiles without warnings (code quality chek)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@helto4real helto4real merged commit a1fd37f into mqtt_extensions Feb 4, 2022
@helto4real helto4real deleted the add-nuget-support branch February 4, 2022 14:31
helto4real added a commit that referenced this pull request Feb 5, 2022
* Initial commit of MQTT entity management framework. (#656)

* Initial commit of MQTT entity management framework.
Addable extension method `AddMqttExtensions()`, rough entity creation through `EntityUpdater` (which is probably a poor name) that needs more strongly-typed.

* DI scope update from PR comment

* Added Update and Remove methods and resolved some of the comments for PR #656

* Changing names to be less generic

* Moved to src/extensions, renamed folder and fixed warning

* Added example app and fixed IOptions for mqtt config

* Fix CI Build error

* Add support for nuget and default host (#660)

* Added Discovery prefix

* MQTT connect and publish can throw exceptions as well as return error codes, so handle each case in a consistent manner by throwing a new MqttConnection or MqttPublish exception.
Add try...catch to the test app so that we can see when exceptions are thrown in called methods.

* 1. Add XML comments
2. Remove unused IConfiguration arg from MessageSender constructor

* Resolving PR comments

* Merged Skotl's code and fixed hard coded retain flag

* Removing throw and fixed warning. Added comment for Delay

* address PR comments

* Internalising...

Co-authored-by: Scott Leckie <scott.leckie@kwolo.com>
Co-authored-by: Tomas Hellström <tomas.hellstrom@yahoo.se>
Ikcelaks pushed a commit to Ikcelaks/netdaemon that referenced this pull request Dec 23, 2022
* Initial commit of MQTT entity management framework. (net-daemon#656)

* Initial commit of MQTT entity management framework.
Addable extension method `AddMqttExtensions()`, rough entity creation through `EntityUpdater` (which is probably a poor name) that needs more strongly-typed.

* DI scope update from PR comment

* Added Update and Remove methods and resolved some of the comments for PR net-daemon#656

* Changing names to be less generic

* Moved to src/extensions, renamed folder and fixed warning

* Added example app and fixed IOptions for mqtt config

* Fix CI Build error

* Add support for nuget and default host (net-daemon#660)

* Added Discovery prefix

* MQTT connect and publish can throw exceptions as well as return error codes, so handle each case in a consistent manner by throwing a new MqttConnection or MqttPublish exception.
Add try...catch to the test app so that we can see when exceptions are thrown in called methods.

* 1. Add XML comments
2. Remove unused IConfiguration arg from MessageSender constructor

* Resolving PR comments

* Merged Skotl's code and fixed hard coded retain flag

* Removing throw and fixed warning. Added comment for Delay

* address PR comments

* Internalising...

Co-authored-by: Scott Leckie <scott.leckie@kwolo.com>
Co-authored-by: Tomas Hellström <tomas.hellstrom@yahoo.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants