Commit Graph

2 Commits (0f725a24bdd504382baa125e94e72cc862e760c2)

Author SHA1 Message Date
epenet 7a4d15a657
Add type hints to integration tests (f-g) (#87700) 2023-02-08 13:33:52 +01:00
Tom Hennigan ce138dd30e
Add unique id to flic buttons (#61496)
* 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.
2022-01-05 17:51:01 +01:00