core/tests/components/xiaomi_ble
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
..
__init__.py Support for encrypted BLE MiBeacon devices (#75677) 2022-07-24 21:00:56 +02:00
conftest.py
test_config_flow.py Support for encrypted BLE MiBeacon devices (#75677) 2022-07-24 21:00:56 +02:00
test_sensor.py Support for encrypted BLE MiBeacon devices (#75677) 2022-07-24 21:00:56 +02:00