Files
home-assistant-core/homeassistant/components/sleep_as_android/diagnostics.py
T
epenetGitHubcopilot-swe-agent[bot] <[email protected]>frenck
d766aae436 Remove import annotations from components (#169536)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: frenck <[email protected]>
2026-04-30 21:14:48 +02:00

18 lines
451 B
Python

"""Diagnostics platform for Sleep as Android integration."""
from typing import Any
from homeassistant.core import HomeAssistant
from . import SleepAsAndroidConfigEntry
async def async_get_config_entry_diagnostics(
hass: HomeAssistant, config_entry: SleepAsAndroidConfigEntry
) -> dict[str, Any]:
"""Return diagnostics for a config entry."""
return {
"config_entry_data": {"cloudhook": config_entry.data["cloudhook"]},
}