mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00

* Use bluetooth address as unique id for flic buttons. * Always lower case address for uid and add tests. * Update test to set up component. * Use format_mac(addr) as unique id. * Only patch pyflic objects and use query entity registry for buttons. * Replace ExitStack with patch.multiple, remove assert_setup_component. * Test binary sensor is present in state machine.
2 lines
38 B
Python
2 lines
38 B
Python
"""Tests for the flic integration."""
|