1
0
mirror of https://github.com/home-assistant/core.git synced 2025-10-08 19:29:38 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Marc Mueller
930a396712 Add empty line after module docstring [s] () 2024-03-08 14:33:51 +01:00
Erik Montnemery
045c327928 Move DeviceInfo from entity to device registry ()
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Marc Mueller
972eb34ed9 Improve bluetooth generic typing ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-02 21:19:53 -10:00
J. Nick Koston
7c13e7cdfd Use a single source of data for switchbot () 2022-12-19 07:47:42 -10:00
J. Nick Koston
642cefb035 Add MVP humidifier support to switchbot ()
* Add MVP humidifier support to switchbot

changelog: https://github.com/Danielhiversen/pySwitchbot/compare/0.22.0...0.23.0

* Update homeassistant/components/switchbot/config_flow.py

* bump

* coveragerc

* Revert "coveragerc"

This reverts commit eb642f6543.

* fix dirty branch
2022-12-10 13:56:57 -05:00
Patrick ZAJDA
d0bffb6c75 Migrate Switchbot to new entity naming style ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-10 14:12:50 +02:00
J. Nick Koston
795691038f Add light platform to switchbot () 2022-08-29 09:30:09 -05:00
J. Nick Koston
b1497b0857 Simplify switchbot config flow () 2022-08-10 09:02:08 -10:00
J. Nick Koston
198167a2c8 Update switchbot to be local push ()
* Update switchbot to be local push

* fixes

* fixes

* fixes

* fixes

* adjust

* cover is not assumed anymore

* cleanups

* adjust

* adjust

* add missing cover

* import compat

* fixes

* uses lower

* uses lower

* bleak users upper case addresses

* fixes

* bump

* keep conf_mac and deprecated options for rollback

* reuse coordinator

* adjust

* move around

* move around

* move around

* move around

* refactor fixes

* compat with DataUpdateCoordinator

* fix available

* Update homeassistant/components/bluetooth/passive_update_processor.py

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

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

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

* Update homeassistant/components/bluetooth/update_coordinator.py

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

* Split bluetooth coordinator into PassiveBluetoothDataUpdateCoordinator and PassiveBluetoothProcessorCoordinator

The PassiveBluetoothDataUpdateCoordinator is now used to replace instances
of DataUpdateCoordinator where the data is coming from bluetooth
advertisements, and the integration may also mix in active updates

The PassiveBluetoothProcessorCoordinator is used for integrations that
want to process each bluetooth advertisement with multiple processors
which can be dispatched to individual platforms or areas or the integration
as it chooes

* change connections

* reduce code churn to reduce review overhead

* reduce code churn to reduce review overhead

* Update homeassistant/components/bluetooth/passive_update_coordinator.py

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

* add basic test

* add basic test

* complete coverage

* Update homeassistant/components/switchbot/coordinator.py

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

* Update homeassistant/components/switchbot/coordinator.py

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

* Update homeassistant/components/switchbot/__init__.py

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

* Update homeassistant/components/switchbot/__init__.py

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

* lint

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 11:38:45 -05:00
Marc Mueller
539a469a8b Update coordinator typing (5) [r-s] () 2022-03-21 15:24:05 +01:00
epenet
d579d90f10 Use DeviceInfo in switchbot ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-28 09:40:35 +02:00
RenierM26
972db29c88 Add sensor to switchbot platform ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-23 15:27:34 -05:00
RenierM26
26e9590927 Add cover platform to switchbot ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-21 12:35:47 -05:00