Convert fjäråskupan to built in bluetooth (#75380)

* Add bluetooth discovery

* Use home assistant standard api

* Fixup manufacture data

* Adjust config flow to use standard features

* Fixup tests

* Mock bluetooth

* Simplify device check

* Fix missing typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Joakim Plate
2022-08-01 16:56:08 +02:00
committed by GitHub
parent f2da46d99b
commit 2dd62b14b6
7 changed files with 109 additions and 132 deletions

View File

@@ -7,6 +7,18 @@ from __future__ import annotations
# fmt: off
BLUETOOTH: list[dict[str, str | int | list[int]]] = [
{
"domain": "fjaraskupan",
"manufacturer_id": 20296,
"manufacturer_data_start": [
79,
68,
70,
74,
65,
82
]
},
{
"domain": "govee_ble",
"local_name": "Govee*"