-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak available handling #30
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #30 +/- ##
==========================================
+ Coverage 93.63% 93.83% +0.19%
==========================================
Files 61 61
Lines 9409 9421 +12
==========================================
+ Hits 8810 8840 +30
+ Misses 599 581 -18 ☔ View full report in Codecov by Sentry. |
async def test_device_counter_sensors( | ||
zha_gateway: Gateway, caplog: pytest.LogCaptureFixture | ||
) -> None: | ||
async def test_device_counter_sensors(zha_gateway: Gateway) -> None: | ||
"""Test quirks defined sensor.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Test quirks defined sensor.""" | |
"""Test coordinator counter sensor.""" |
elec_measurement_zha_dev: Device, # pylint: disable=redefined-outer-name | ||
caplog: pytest.LogCaptureFixture, | ||
) -> None: | ||
"""Test quirks defined sensor.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Test quirks defined sensor.""" | |
"""Test polling is skipped for unavailable device.""" |
|
||
assert entity.state["state"] is None | ||
|
||
# simulate counter increment on application |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# simulate counter increment on application |
No description provided.