Commit graph

15 commits

Author SHA1 Message Date
J. Nick Koston
6c3a0890c7
Add support for fetching bindkey from Mi cloud (#128394) 2024-10-22 05:53:02 -10:00
Jan Bouwhuis
82e12052e4
Fix typo in xiaomi_ble translation strings (#117144) 2024-05-09 16:31:36 +02:00
J. Nick Koston
53c48537d7
Add bluetooth adapter model and manufacturer to config flow (#115780)
* Show bluetooth adapter model and manufacturer in config flow

If there are multiple adapters, it could be a bit difficult
to figure out which one is which

* Show bluetooth adapter model and manufacturer in config flow

If there are multiple adapters, it could be a bit difficult
to figure out which one is which

* reorder

* reorder

* names

* remove

* fix incomplete mocking

* more missing mocks
2024-04-18 10:39:32 -04:00
Ernst Klamer
e91a38eede
Add Locks to Xiaomi-BLE (#111156) 2024-03-09 22:29:48 -10:00
Jirka
d27ca83694
Fix string in xiaomi_ble (#109758)
Update strings.json

Fixed typo:
From
"rotate_right_pressed": "Rotate left (pressed)"
to
"rotate_right_pressed": "Rotate right (pressed)"
2024-02-05 21:50:37 +02:00
Ernst Klamer
a95a51da05
Add Xiaomi-ble remotes and dimmers (#109327) 2024-02-05 00:30:47 +01:00
Ernst Klamer
697d4987c1
Fix Xiaomi-ble automations for multiple button devices (#109251) 2024-02-01 09:04:02 +01:00
Ernst Klamer
70ee6a16ee
Add event entity to Xiaomi-BLE integration (#108811) 2024-01-30 08:42:56 -10:00
Robert Resch
bb90c1f168
Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02:00
Ernst Klamer
886d2fc3a1
Add events for xiaomi-ble (#85139)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-24 08:48:30 -10:00
Jc2k
fbf3c1a5d4
Fix Xiaomi BLE UI string issues (#76099) 2022-08-02 22:05:36 +01:00
Jc2k
d69d7a8761
Fix typo in new xiaomi_ble string (#76076) 2022-08-02 14:11:06 +02:00
Jc2k
652a8e9e8a
Add reauth flow to xiaomi_ble, fixes problem adding LYWSD03MMC (#76028) 2022-08-01 22:04:16 +01:00
Jc2k
e18819c678
Support for encrypted BLE MiBeacon devices (#75677)
* Support for encrypted devices

* Sensor should use bindkey if available

* Error message if encryption fails

* Let mypy know this is always set by now

* Towards supporting encryption in step_user

* Add tests for the 4 new happy paths

* Add test coverage for failure cases

* Add strings

* Bump to 0.5.1. Legacy MiBeacon does not use an authentication token, so harder to detect incorrect key

* Add _title() helper

* Fix test after rebase

* Update homeassistant/components/xiaomi_ble/strings.json

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

* Remove unused lines

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-24 21:00:56 +02:00
Jc2k
402e533fef
Initial xiaomi_ble integration (#75618)
* Initial xiaomi_ble integration

* black

* Update homeassistant/components/xiaomi_ble/config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update homeassistant/components/xiaomi_ble/config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update tests/components/xiaomi_ble/test_config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update homeassistant/components/xiaomi_ble/sensor.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Update tests/components/xiaomi_ble/test_config_flow.py

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>

* Remove debug code

* Need 'proper' MAC when running tests on linux

* Need to use proper MAC so validation passes

* Add tests for already_in_progress and already_configured

* copy test, add session fixture

* fix test

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-23 00:55:06 +02:00