Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dwd_weather_warnings.util Namespace Reference

Functions

tuple[float, float]|None get_position_data (HomeAssistant hass, str registry_id)
 

Detailed Description

Util functions for the dwd_weather_warnings integration.

Function Documentation

◆ get_position_data()

tuple[float, float] | None homeassistant.components.dwd_weather_warnings.util.get_position_data ( HomeAssistant  hass,
str   registry_id 
)
Extract longitude and latitude from a device tracker.

Definition at line 12 of file util.py.