Skip to content

Add network throughput statistics to systemmonitor sensor#21575

Merged
fabaff merged 2 commits into
home-assistant:devfrom
dgomes:systemmonitor_throughput
Mar 2, 2019
Merged

Add network throughput statistics to systemmonitor sensor#21575
fabaff merged 2 commits into
home-assistant:devfrom
dgomes:systemmonitor_throughput

Conversation

@dgomes
Copy link
Copy Markdown
Contributor

@dgomes dgomes commented Mar 2, 2019

Description:

The system monitor sensor provides counters (bytes and packets) but does not provide throughput.

Related issue (if applicable): fixes #

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Example entry for configuration.yaml (if applicable):

- platform: systemmonitor
  resources:
    - type: throughput_network_in
      arg: ens3
    - type: throughput_network_out
      arg: ens3

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

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

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@ghost ghost assigned dgomes Mar 2, 2019
@ghost ghost added the in progress label Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants