1 """Provide info to system health."""
3 from __future__
import annotations
5 from typing
import Any, Final
10 API_ENDPOINT: Final =
"http://api.gios.gov.pl/"
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)
dict[str, Any] system_health_info(HomeAssistant hass)
None async_register(HomeAssistant hass, system_health.SystemHealthRegistration register)