mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
7d0e356560
* Merge original changes from #23590 * guard * adjust * adjust * adjust * Update async_render_to_info for recent codebase changes * no more protected access * do not fire right away per review comments * update test to not fire right away * closer * rework tests for non firing first * augment coverage * remove cruft * test for complex listen add/remove * update docs to match review feedback to not fire right away * preserve existing behavior * fix test * Ensure listeners are cleaned up * de-dupe and comment * de-dupe and comment * coverage * test to login again if we go from exception to ok to exception * Update homeassistant/core.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Update homeassistant/helpers/event.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * rename _boolean_coerce to result_as_boolean and move it out of event * additional coverage * Add more tests (may still be able to trim this down) Co-authored-by: Swamp-Ig <github@ninjateaparty.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>