1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-15 02:23:47 +01:00
Files
2026-04-30 21:14:48 +02:00

15 lines
371 B
Python

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