Commit Graph

20 Commits (1f928042111c9368d5899badb70052689229ed38)

Author SHA1 Message Date
Joakim Plate 4185a70882
Allow data from un-connectable sources in fjäråskupan (#77236) 2022-08-30 23:40:25 -04:00
Joakim Plate 2689eddbe8
Make sure we always connect to last known bluetooth device in fjäråskupan (#77088)
Make sure we always connect to last known device
2022-08-21 09:47:04 +02:00
Joakim Plate cdde4f9925
Add bluetooth API to allow rediscovery of address (#76005)
* Add API to allow rediscovery of domains

* Switch to clearing per device

* Drop unneded change
2022-08-05 14:49:34 +02:00
Joakim Plate 2dd62b14b6
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>
2022-08-01 16:56:08 +02:00
Paulus Schoutsen 4b2beda473
Move some bleak imports to be behind TYPE_CHECKING (#75894) 2022-07-28 22:26:37 -07:00
Joakim Plate 104d236646
fjaraskupan: Make sure we stop bleak on home assistant stop (#74545)
* Make sure we stop bleak on home assistant stop

* Fix typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-07 08:40:10 +02:00
Joakim Plate cc807b4d59
fjaraskupan: Don't filter anything in backend (#72988) 2022-06-03 13:05:37 -07:00
Joakim Plate 465210784f
fjaraskupan: Don't set hardware filters for service id (#72569) 2022-05-26 20:51:24 -07:00
Joakim Plate 513e276bba
Avoid polling fjaraskupan if no broadcast is received (#71969)
* Switch to subclassed coordinator

* Avoid polling fjäråskupan only do on request

We still want to timeout the availability if no data was received.

* Remove unused variable

* Update homeassistant/components/fjaraskupan/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 08:32:28 +02:00
Marc Mueller cd1b923e16
Use platform enum (2) [E-G] (#60933) 2021-12-04 13:26:40 +01:00
Joakim Plate 7047205fb8
Correct fjaraskupan post merge review comments (#58796) 2021-10-31 11:47:25 +01:00
Joakim Plate 6b1b8c9880
Fjaraskupan number entity for periodic venting (#58179) 2021-10-26 10:53:13 -05:00
Robert Hillis 63646a19cc
Use DeviceInfo Class F-G (#58255) 2021-10-23 12:01:21 +02:00
Joakim Plate bc5422d737
Bump fjaraskupan to 1.0.2 (#57992) 2021-10-18 22:23:06 +02:00
Marc Mueller 1e98761f30
Use assignment expressions 15 (#57961) 2021-10-18 14:01:23 +02:00
Marc Mueller d51487f82a
Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
Joakim Plate 4bdeba8631
Add fjäråskupan sensor (#54921)
* Add fjäråskupan sensor

* Update homeassistant/components/fjaraskupan/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Type the return value of constructor

* Update __init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-21 11:09:23 +02:00
Joakim Plate 5142ebfcc2
Add fjäråskupan light entity (#54918)
* Add fjäråskupan light

* Update homeassistant/components/fjaraskupan/light.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Check property

* Switch to default coordinator update

* Type check constructor

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-21 09:34:32 +02:00
Joakim Plate dd8542e01f
Add fjäråskupan binary_sensor (#54920)
* Add fjäråskupan binary_sensor

* Switch to entity description

* Type check constructor
2021-08-20 20:18:30 +02:00
Joakim Plate 1f4c12195e
Fjäråskupan kitchen fan (#53140)
* Add fjäråskupan fan control

* Update tests/components/fjaraskupan/conftest.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fjaraskupan/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fjaraskupan/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Increase manual update to 2 minutes

* Address review comments

* Switch to discovery flow

* Address more review comments

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 13:41:36 +02:00