Skip to content

Add sensor platform to WLED integration#28632

Merged
MartinHjelmare merged 2 commits into
devfrom
frenck-2019-0261
Nov 9, 2019
Merged

Add sensor platform to WLED integration#28632
MartinHjelmare merged 2 commits into
devfrom
frenck-2019-0261

Conversation

@frenck
Copy link
Copy Markdown
Member

@frenck frenck commented Nov 8, 2019

Description:

Adds the sensor platform to the WLED integration, providing:

  • Uptime
  • Free memory on the device
  • The estimated amount of current the device is using

Related issue (if applicable): n/a

Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11128

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.
  • I have followed the development checklist

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.

Comment thread homeassistant/components/wled/__init__.py Outdated
Comment thread homeassistant/components/wled/sensor.py Outdated
Comment thread homeassistant/components/wled/sensor.py Outdated
@frenck frenck requested a review from MartinHjelmare November 9, 2019 18:28
Copy link
Copy Markdown
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@MartinHjelmare MartinHjelmare merged commit a39cac7 into dev Nov 9, 2019
@delete-merged-branch delete-merged-branch Bot deleted the frenck-2019-0261 branch November 9, 2019 19:18
@lock lock Bot locked and limited conversation to collaborators Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants