2020-05-13 13:25:06 +00:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"step": {
|
|
|
|
"user": {
|
|
|
|
"data": {
|
|
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
|
|
"port": "[%key:common::config_flow::data::port%]",
|
2020-10-03 13:28:42 +00:00
|
|
|
"name": "[%key:common::config_flow::data::name%]",
|
2020-10-25 22:41:26 +00:00
|
|
|
"location": "[%key:common::config_flow::data::location%]",
|
2020-10-03 14:06:45 +00:00
|
|
|
"ssl": "[%key:common::config_flow::data::ssl%]",
|
|
|
|
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
2020-05-13 13:25:06 +00:00
|
|
|
}
|
2021-01-20 15:40:23 +00:00
|
|
|
},
|
2023-01-20 12:02:44 +00:00
|
|
|
"api_key": {
|
|
|
|
"data": {
|
|
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
|
|
}
|
|
|
|
},
|
2023-01-07 11:22:36 +00:00
|
|
|
"reauth_confirm": {
|
2023-04-13 00:41:27 +00:00
|
|
|
"title": "Reauthenticate PI-Hole",
|
2023-01-07 11:22:36 +00:00
|
|
|
"description": "Please enter a new api key for PI-Hole at {host}/{location}",
|
2021-01-20 15:40:23 +00:00
|
|
|
"data": {
|
|
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
|
|
}
|
2020-05-13 13:25:06 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"error": {
|
2023-01-07 11:22:36 +00:00
|
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
|
2020-05-13 13:25:06 +00:00
|
|
|
},
|
|
|
|
"abort": {
|
2023-01-07 11:22:36 +00:00
|
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
|
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
2020-05-13 13:25:06 +00:00
|
|
|
}
|
2023-04-03 12:00:27 +00:00
|
|
|
},
|
|
|
|
"entity": {
|
|
|
|
"binary_sensor": {
|
2023-07-11 22:33:37 +00:00
|
|
|
"status": {
|
|
|
|
"name": "Status"
|
|
|
|
}
|
2023-04-03 12:00:27 +00:00
|
|
|
},
|
|
|
|
"sensor": {
|
2023-07-11 22:33:37 +00:00
|
|
|
"ads_blocked_today": {
|
|
|
|
"name": "Ads blocked today"
|
|
|
|
},
|
|
|
|
"ads_percentage_today": {
|
|
|
|
"name": "Ads percentage blocked today"
|
|
|
|
},
|
|
|
|
"clients_ever_seen": {
|
|
|
|
"name": "Seen clients"
|
|
|
|
},
|
|
|
|
"dns_queries_today": {
|
|
|
|
"name": "DNS queries today"
|
|
|
|
},
|
|
|
|
"domains_being_blocked": {
|
|
|
|
"name": "Domains blocked"
|
|
|
|
},
|
|
|
|
"queries_cached": {
|
|
|
|
"name": "DNS queries cached"
|
|
|
|
},
|
|
|
|
"queries_forwarded": {
|
|
|
|
"name": "DNS queries forwarded"
|
|
|
|
},
|
|
|
|
"unique_clients": {
|
|
|
|
"name": "DNS unique clients"
|
|
|
|
},
|
|
|
|
"unique_domains": {
|
|
|
|
"name": "DNS unique domains"
|
|
|
|
}
|
2023-04-03 12:00:27 +00:00
|
|
|
},
|
|
|
|
"update": {
|
2023-07-11 22:33:37 +00:00
|
|
|
"core_update_available": {
|
|
|
|
"name": "Core update available"
|
|
|
|
},
|
|
|
|
"ftl_update_available": {
|
|
|
|
"name": "FTL update available"
|
|
|
|
},
|
|
|
|
"web_update_available": {
|
|
|
|
"name": "Web update available"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"services": {
|
|
|
|
"disable": {
|
2023-07-13 02:00:05 +00:00
|
|
|
"name": "[%key:common::action::disable%]",
|
2023-07-11 22:33:37 +00:00
|
|
|
"description": "Disables configured Pi-hole(s) for an amount of time.",
|
|
|
|
"fields": {
|
|
|
|
"duration": {
|
|
|
|
"name": "Duration",
|
|
|
|
"description": "Time that the Pi-hole should be disabled for."
|
|
|
|
}
|
|
|
|
}
|
2023-04-03 12:00:27 +00:00
|
|
|
}
|
2020-05-13 13:25:06 +00:00
|
|
|
}
|
|
|
|
}
|