Skip to content

Refactor MqttPublisher #1163

Description

@andchiind

Describe the improvement you would like to see
Currently this class serves as a somewhat convoluted wrapper around the mqtt_queue. I dno't suggest we remove the functionality, but make it into a utility function as opposed to a module. This would also make it more accessible, since not all parts of the code can conveniently do dependency injection without significant changes.

How will this change existing functionality?
It will make it easier to publish values to MQTT without the need for dependency injection.

How will this improvement affect the current Threat Model?
N/A

Metadata

Metadata

Assignees

Labels

improvementImprovement to existing functionality

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions