Add Qingping integration (BLE) (#76598)
* Add Qingping integration (BLE) * commit the binary sensor * add binary_sensor file * Update homeassistant/components/qingping/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/qingping/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/qingping/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * fix const CONCENTRATION_MICROGRAMS_PER_CUBIC_METER * cover case where config flow is started, another path adds it, and then they resume * fix missed values Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
0d45cef6f6
commit
f55c274d83
19 changed files with 918 additions and 0 deletions
8
tests/components/qingping/conftest.py
Normal file
8
tests/components/qingping/conftest.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
"""Qingping session fixtures."""
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_bluetooth(enable_bluetooth):
|
||||
"""Auto mock bluetooth."""
|
Loading…
Add table
Add a link
Reference in a new issue