Skip to content
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

[snmp] add support for UoM #140

Merged
merged 1 commit into from
Jun 24, 2021
Merged

[snmp] add support for UoM #140

merged 1 commit into from
Jun 24, 2021

Conversation

J-N-K
Copy link
Member

@J-N-K J-N-K commented Jun 22, 2021

This adds support for using units in the SNMP binding. If configured, the unit is added to the incoming value. Commands send to items are either stripped of their unit (if no unit configured for the channel) or converted to the condifured unit before sending.

Signed-off-by: Jan N. Klug jan.n.klug@rub.de

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
@J-N-K J-N-K added the enhancement New feature or request label Jun 22, 2021
@J-N-K J-N-K merged commit 2ca9761 into smarthomej:main Jun 24, 2021
@J-N-K J-N-K added this to the 3.1.3 milestone Jun 24, 2021
@J-N-K J-N-K deleted the snmp-uom branch June 24, 2021 16:08
J-N-K added a commit that referenced this pull request Jun 24, 2021
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant