1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-02 04:06:41 +01:00
Files
core/homeassistant/components/syncthru/diagnostics.py
T
2026-04-30 21:14:48 +02:00

16 lines
368 B
Python

"""Diagnostics support for Syncthru."""
from typing import Any
from homeassistant.core import HomeAssistant
from .coordinator import SyncThruConfigEntry
async def async_get_config_entry_diagnostics(
hass: HomeAssistant, entry: SyncThruConfigEntry
) -> dict[str, Any]:
"""Return diagnostics for a config entry."""
return entry.runtime_data.data.raw()