Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.easyenergy.services Namespace Reference

Classes

class  PriceType
 

Functions

EasyEnergyDataUpdateCoordinator __get_coordinator (HomeAssistant hass, ServiceCall call)
 
date|datetime __get_date (str|None date_input)
 
ServiceResponse __get_prices (ServiceCall call, *HomeAssistant hass, PriceType price_type)
 
ServiceResponse __serialize_prices (list[dict[str, float|datetime]] prices)
 
None async_setup_services (HomeAssistant hass)
 

Variables

 Final
 

Detailed Description

Services for easyEnergy integration.

Function Documentation

◆ __get_coordinator()

EasyEnergyDataUpdateCoordinator homeassistant.components.easyenergy.services.__get_coordinator ( HomeAssistant  hass,
ServiceCall   call 
)
private
Get the coordinator from the entry.

Definition at line 89 of file services.py.

◆ __get_date()

date | datetime homeassistant.components.easyenergy.services.__get_date ( str | None  date_input)
private
Get date.

Definition at line 58 of file services.py.

◆ __get_prices()

ServiceResponse homeassistant.components.easyenergy.services.__get_prices ( ServiceCall  call,
*HomeAssistant  hass,
PriceType  price_type 
)
private
Get prices from easyEnergy.

Definition at line 117 of file services.py.

◆ __serialize_prices()

ServiceResponse homeassistant.components.easyenergy.services.__serialize_prices ( list[dict[str, float | datetime]]  prices)
private
Serialize prices to service response.

Definition at line 76 of file services.py.

◆ async_setup_services()

None homeassistant.components.easyenergy.services.async_setup_services ( HomeAssistant  hass)
Set up services for easyEnergy integration.

Definition at line 154 of file services.py.

Variable Documentation

◆ Final

homeassistant.components.easyenergy.services.Final

Definition at line 28 of file services.py.