diff --git a/custom_components/average/manifest.json b/custom_components/average/manifest.json index 844ab87..68bea95 100644 --- a/custom_components/average/manifest.json +++ b/custom_components/average/manifest.json @@ -1,21 +1,21 @@ { "domain": "average", "name": "Average Sensor", - "version": "2.3.1-alpha", - "documentation": "https://github.com/Limych/ha-average", - "issue_tracker": "https://github.com/Limych/ha-average/issues", - "dependencies": [], "after_dependencies": [ - "history", - "recorder", - "weather" + "history", + "recorder", + "weather" ], - "config_flow": false, "codeowners": [ - "@Limych" + "@Limych" ], + "config_flow": false, + "dependencies": [], + "documentation": "https://github.com/Limych/ha-average", + "iot_class": "calculated", + "issue_tracker": "https://github.com/Limych/ha-average/issues", + "version": "2.3.1-alpha", "requirements": [ - "colorlog==6.7.0" - ], - "iot_class": "calculated" -} \ No newline at end of file + "colorlog==6.7.0" + ] +} diff --git a/pylintrc b/pylintrc index ecb80d8..3baca39 100644 --- a/pylintrc +++ b/pylintrc @@ -58,4 +58,4 @@ ignored-classes=_CountingAttr expected-line-ending-format=LF [EXCEPTIONS] -overgeneral-exceptions=BaseException,Exception,HomeAssistantError +overgeneral-exceptions=builtins.BaseException,builtins.Exception,builtins.HomeAssistantError diff --git a/tests/test_sensor.py b/tests/test_sensor.py index 2938203..0ef4ebe 100644 --- a/tests/test_sensor.py +++ b/tests/test_sensor.py @@ -172,7 +172,10 @@ async def test_entity_initialization(hass: HomeAssistant, default_sensor): None, ) - assert entity.unique_id == "ca6b83d00637cf7d1e2f5c30b4f4f0402ad2fc53" + assert entity.unique_id in ( + "2ef66732fb7155dce84ad53afe910beba59cfad4", + "ca6b83d00637cf7d1e2f5c30b4f4f0402ad2fc53", + ) async def test_async_setup_platform(hass: HomeAssistant):