* WIP Add Sensor platform
* Code quality improvements
* Readability improvements
* Fix RSSI in fixture
* Sensor platform tests
* Created parent sensor class
* Fix DOMAIN namespace
* Code Coverage fix for impossible case
* Use parent class
* Add to fixture for code coverage
* Description Update
* Use consistent name for ADVANTAGE_AIR_DOMAIN
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Set ADVANTAGE_AIR_DOMAIN where required
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* Rewrite smtp unittest tests to pytest style
test functions.
.coverage.rc --> Remove homeassistant/component/smtp/notify.py from
omit section.
test_notify.py --> Convert test case to pytest style.
test.jpg, test.pdf --> Add test files.
Issue id:- #40894
* Made Fix Based On Code Review
To Pull Request - #41720.
.coveragerc --> Add file in omit section as coverage is 75%(i.e. <95%)
test_notify.py --> Capitalize constant in file, Made parametrized data
compatible to avoid if conditions.
Code Review Submission on Pull Request #41720.
* Made Fix Based On Code Review
To Pull Request #41720.
test_notify.py --> Add different test for simple text message to avoid if conditions check in code.
* Move Notify Media Files To
Folder tests/testing_config/notify.
test_notify.py --> Add Relevant Path For .jpg and .pdf file.
test.jpg, test.pdf --> Move to relevant location.
Pull request #41720
* add persistent notification for reauth config flow
* remove log
* Update homeassistant/config_entries.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/config_entries.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix logic for determining when to dismiss notification
* add comment
* improve tests to ensure notifications only get dismissed when all in progress config flows of a given type are complete
* Update homeassistant/config_entries.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* handle context is None when accessing source
* add guard to show_advanced_options
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>