Add temperature and humidity to xiaomi miio air quality monitor#31287
Add temperature and humidity to xiaomi miio air quality monitor#31287springstan merged 3 commits intohome-assistant:devfrom fierland:dev
Conversation
- temperature - humidity
|
Hey there @rytilahti, @syssi, mind taking a look at this pull request as its been labeled with a integration ( |
|
Please update the documentation accordingly by opening a PR in home-assistant/home-assistant.io and link it to this one. Thanks 👍 |
rytilahti
left a comment
There was a problem hiding this comment.
LGTM, can be merged when the docs are updated 👍
|
@fierland please update the docs so this can be merged, thanks ✌😊 |
|
I thought I had updated the docs but I will check if the push worked
Sincerely yours,
Frank van Ierland
06-21391053
…________________________________
From: springstan <notifications@github.com>
Sent: Saturday, February 1, 2020 11:46:41 AM
To: home-assistant/home-assistant <home-assistant@noreply.github.com>
Cc: Frank van Ierland <frank@van-ierland.com>; Mention <mention@noreply.github.com>
Subject: Re: [home-assistant/home-assistant] Add temperature and humidity to xiaomi miio air quality monitor (#31287)
@fierland<https://github.com/fierland> please update the docs so this can be merged, thanks ✌😊
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#31287>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AINVD65U4COG3MVB3BGSS5TRAVHJDANCNFSM4KNLWBUQ>.
|
|
You will need to create a separate PR in https://github.com/home-assistant/home-assistant.io and link it to this one :) |
|
Mm what did i do wrong its pull request 6f43cd4 (home-assistant/home-assistant.io@6f43cd4) and linked to this one.
Van: springstan <notifications@github.com>
Verzonden: zaterdag 1 februari 2020 13:12
Aan: home-assistant/home-assistant <home-assistant@noreply.github.com>
CC: Frank van Ierland <frank@van-ierland.com>; Mention <mention@noreply.github.com>
Onderwerp: Re: [home-assistant/home-assistant] Add temperature and humidity to xiaomi miio air quality monitor (#31287)
You will need to create a separate PR in https://github.com/home-assistant/home-assistant.io and link it to this one :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#31287>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AINVD67P2P6MOW4VMK7TKCLRAVRKBANCNFSM4KNLWBUQ>.
|
|
Ok looks like its there now 😊
Van: springstan <notifications@github.com>
Verzonden: zaterdag 1 februari 2020 13:12
Aan: home-assistant/home-assistant <home-assistant@noreply.github.com>
CC: Frank van Ierland <frank@van-ierland.com>; Mention <mention@noreply.github.com>
Onderwerp: Re: [home-assistant/home-assistant] Add temperature and humidity to xiaomi miio air quality monitor (#31287)
You will need to create a separate PR in https://github.com/home-assistant/home-assistant.io and link it to this one :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#31287>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AINVD67P2P6MOW4VMK7TKCLRAVRKBANCNFSM4KNLWBUQ>.
|
|
Great 👌 |
|
I realize that they should be a separate sensor although I see more entity’s with attributes that should be different. I’m new to coding for HASS so I started with this simple extension to make the data available. Have to digg into making a this integration with multiple entities . Are there any good examples for thIs?_____________________________
|
|
Currently each xiaomi miio platform configures its own devices. I don't know how the device library handles multiple connection instances for the same host device. Usually we try to have a central device connection that spawns multiple platforms that shares the central device. That would mean a major code refactor here. If it's ok to set up multiple device connections, then we may just need to add the collection of humidity and temperature measurements to the xiaomi_miio sensor platform. |
updated attributes linked to home-assistant/core#31287
Proposed change
added 2 new attributes in the HASS entity:
Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale: