1 """Provide info to system health."""
3 from __future__
import annotations
7 from nextdns.const
import API_ENDPOINT
17 """Register system health callbacks."""
18 register.async_register_info(system_health_info)
22 """Get info for the info page."""
24 "can_reach_server": system_health.async_check_can_reach_url(hass, API_ENDPOINT)
None async_register(HomeAssistant hass, system_health.SystemHealthRegistration register)
dict[str, Any] system_health_info(HomeAssistant hass)