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

Add icons to Xiaomi Aqara sensors #12814

Merged
merged 2 commits into from Mar 2, 2018
Merged

Add icons to Xiaomi Aqara sensors #12814

merged 2 commits into from Mar 2, 2018

Conversation

thijsdejong
Copy link
Contributor

@thijsdejong thijsdejong commented Mar 1, 2018

Description:

This cleans up the code a little bit and adds icons to the sensors.

Checklist:

  • The code change is tested and works locally.
  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@@ -7,6 +7,14 @@

_LOGGER = logging.getLogger(__name__)

SENSOR_TYPES = {
'temperature': [TEMP_CELSIUS, 'thermometer'],
Copy link
Member

@balloob balloob Mar 1, 2018

Choose a reason for hiding this comment

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

All icons need to be prefixed with mdi:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, forgot this when I changed my mind on how to do this 👍

@balloob balloob merged commit 25c4c9b into home-assistant:dev Mar 2, 2018
@thijsdejong thijsdejong deleted the aqara-refactor branch March 2, 2018 13:18
@thijsdejong thijsdejong mentioned this pull request Mar 3, 2018
2 tasks
@balloob balloob mentioned this pull request Mar 9, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants