Functions | |
| CarbonIntensityResponse | fetch_latest_carbon_intensity (HomeAssistant hass, ElectricityMaps em, Mapping[str, Any] config) |
Helper functions for the CO2 Signal integration.
| CarbonIntensityResponse homeassistant.components.co2signal.helpers.fetch_latest_carbon_intensity | ( | HomeAssistant | hass, |
| ElectricityMaps | em, | ||
| Mapping[str, Any] | config | ||
| ) |
Fetch the latest carbon intensity based on country code or location coordinates.
Definition at line 15 of file helpers.py.