* 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>
* 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>