mirror of
https://github.com/home-assistant/core.git
synced 2026-07-13 17:44:45 +01:00
bb964ccd95
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
"""Constants for the Electric Kiwi integration."""
|
|
|
|
NAME = "Electric Kiwi"
|
|
DOMAIN = "electric_kiwi"
|
|
ATTRIBUTION = "Data provided by the Juice Hacker API"
|
|
|
|
OAUTH2_AUTHORIZE = "https://welcome.electrickiwi.co.nz/oauth/authorize"
|
|
OAUTH2_TOKEN = "https://welcome.electrickiwi.co.nz/oauth/token"
|
|
API_BASE_URL = "https://api.electrickiwi.co.nz"
|
|
|
|
SCOPE_VALUES = (
|
|
"read_customer_details read_connection_detail"
|
|
" read_connection read_billing_address"
|
|
" get_bill_address read_billing_frequency"
|
|
" read_billing_details read_billing_bills"
|
|
" read_billing_bill read_billing_bill_id"
|
|
" read_billing_bill_file"
|
|
" read_account_running_balance"
|
|
" read_customer_account_summary"
|
|
" read_consumption_summary"
|
|
" download_consumption_file"
|
|
" read_consumption_averages"
|
|
" get_consumption_averages"
|
|
" read_hop_intervals_config read_hop_intervals"
|
|
" read_hop_connection"
|
|
" read_hop_specific_connection"
|
|
" save_hop_connection"
|
|
" save_hop_specific_connection"
|
|
" read_outage_contact"
|
|
" get_outage_contact_info_for_icp"
|
|
" read_session read_session_data_login"
|
|
)
|