mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00
18 lines
427 B
Python
18 lines
427 B
Python
"""Diagnostics support for Plugwise."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from .coordinator import PlugwiseConfigEntry
|
|
|
|
|
|
async def async_get_config_entry_diagnostics(
|
|
hass: HomeAssistant, entry: PlugwiseConfigEntry
|
|
) -> dict[str, Any]:
|
|
"""Return diagnostics for a config entry."""
|
|
coordinator = entry.runtime_data
|
|
return coordinator.data
|