mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Bump pytrydan to v1.0.1 (#173047)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Diagnostics support for V2C."""
|
||||
|
||||
from typing import TYPE_CHECKING, Any
|
||||
from typing import TYPE_CHECKING, Any, cast
|
||||
|
||||
from homeassistant.components.diagnostics import async_redact_data
|
||||
from homeassistant.const import CONF_HOST
|
||||
@@ -21,11 +21,11 @@ async def async_get_config_entry_diagnostics(
|
||||
assert coordinator.evse
|
||||
|
||||
coordinator_data = coordinator.evse.data
|
||||
evse_raw_data = coordinator.evse.raw_data
|
||||
evse_raw_data = cast(dict[str, Any], coordinator.evse.raw_data)
|
||||
|
||||
return {
|
||||
"config_entry": async_redact_data(entry.as_dict(), TO_REDACT),
|
||||
"data": str(coordinator_data),
|
||||
"raw_data": evse_raw_data["content"].decode("utf-8"), # type: ignore[attr-defined]
|
||||
"raw_data": evse_raw_data["content"].decode("utf-8"),
|
||||
"host_status": evse_raw_data["status_code"],
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/v2c",
|
||||
"integration_type": "device",
|
||||
"iot_class": "local_polling",
|
||||
"requirements": ["pytrydan==1.0.0"]
|
||||
"requirements": ["pytrydan==1.0.1"]
|
||||
}
|
||||
|
||||
Generated
+1
-1
@@ -2773,7 +2773,7 @@ pytradfri[async]==9.0.1
|
||||
pytrafikverket==1.1.1
|
||||
|
||||
# homeassistant.components.v2c
|
||||
pytrydan==1.0.0
|
||||
pytrydan==1.0.1
|
||||
|
||||
# homeassistant.components.uptimerobot
|
||||
pyuptimerobot==25.0.0
|
||||
|
||||
Reference in New Issue
Block a user