mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 11:47:50 +00:00

* Fix notify discovery setup * add test * unsubscribe at reset * Add guard * move dispatcher to reload module * only unsubscribe if platform was setup * initialize dispatcher once and tests * test get_service too * add tests * fix test * use get_service for test invalid platform * Test built-in reload method * set to None after clearing dispatcher - tests * Pathing services file * Update tests/components/notify/test_init.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * dispatcher is not set twice if integration loaded * empty discovery payload * Removed not needed services.yaml mock * Update tests/components/notify/test_init.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * flake8 Co-authored-by: Martin Hjelmare <marhje52@gmail.com>