mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 21:47:08 +00:00
* Add support for local (lan) panel integration * Fix merge conflicts * Remove executable flag from non-executable files * Fix tests * Update homeassistant/components/elmax/__init__.py Shorten comment Co-authored-by: Erik Montnemery <erik@montnemery.com> * Fix typehint * Rename DummyPanel into DirectPanel * Update homeassistant/components/elmax/__init__.py Rewording Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update homeassistant/components/elmax/__init__.py Rewording Co-authored-by: Erik Montnemery <erik@montnemery.com> * Refactor option step into menu step * Change requirement statement * Refactor dictionary key entries to use existing constants * Align step names to new constants * Align step names to new constants amd align tests * Align step names to new constants amd align tests * Align step names to new constants * Simplify logic to handle entire entry instead of a portion of the state * Simplify working mode checks * Add data_description dictionary to better explain SSL and FOLLOW_MDSN options * Add support for local (lan) panel integration * Fix merge conflicts * Remove executable flag from non-executable files * Fix tests * Update homeassistant/components/elmax/__init__.py Shorten comment Co-authored-by: Erik Montnemery <erik@montnemery.com> * Fix typehint * Rename DummyPanel into DirectPanel * Update homeassistant/components/elmax/__init__.py Rewording Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update homeassistant/components/elmax/__init__.py Rewording Co-authored-by: Erik Montnemery <erik@montnemery.com> * Refactor option step into menu step * Change requirement statement * Refactor dictionary key entries to use existing constants * Align step names to new constants * Align step names to new constants amd align tests * Align step names to new constants amd align tests * Align step names to new constants * Simplify logic to handle entire entry instead of a portion of the state * Simplify working mode checks * Add data_description dictionary to better explain SSL and FOLLOW_MDSN options * Add newline at end of file * Remove CONF_ELMAX_MODE_DIRECT_FOLLOW_MDNS option * Fix Ruff pre-check --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>
72 lines
2.9 KiB
JSON
72 lines
2.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"choose_mode": {
|
|
"description": "Please choose the connection mode to Elmax panels.",
|
|
"menu_options": {
|
|
"cloud": "Connect to Elmax Panel via Elmax Cloud APIs",
|
|
"direct": "Connect to Elmax Panel via local/direct IP"
|
|
}
|
|
},
|
|
"cloud": {
|
|
"description": "Please login to the Elmax cloud using your credentials",
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]"
|
|
}
|
|
},
|
|
"zeroconf_setup": {
|
|
"description": "Configure discovered local Elmax panel",
|
|
"data": {
|
|
"panel_pin": "Panel PIN code",
|
|
"use_ssl": "Use SSL"
|
|
},
|
|
"data_description": {
|
|
"use_ssl": "Whether or not using strict SSL checks. Disable if the panel does not expose a valid SSL certificate or if SSL communication is unsupported by the panel you are connecting to."
|
|
}
|
|
},
|
|
"direct": {
|
|
"description": "Specify the Elmax panel connection parameters below.",
|
|
"data": {
|
|
"panel_api_host": "Panel API Hostname or IP",
|
|
"panel_api_port": "Panel API port",
|
|
"use_ssl": "Use SSL",
|
|
"panel_pin": "Panel PIN code"
|
|
},
|
|
"data_description": {
|
|
"use_ssl": "Whether or not using strict SSL checks. Disable if the panel does not expose a valid SSL certificate or if SSL communication is unsupported by the panel you are connecting to."
|
|
}
|
|
},
|
|
"panels": {
|
|
"description": "Select which panel you would like to control with this integration. Please note that the panel must be ON in order to be configured.",
|
|
"data": {
|
|
"panel_name": "Panel Name",
|
|
"panel_id": "Panel ID",
|
|
"panel_pin": "[%key:common::config_flow::data::pin%]"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"description": "Please re-authenticate with the panel.",
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"panel_pin": "Panel Pin"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"no_panel_online": "No online Elmax control panel was found.",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"network_error": "A network error occurred",
|
|
"invalid_pin": "The provided pin is invalid",
|
|
"invalid_mode": "Invalid or unsupported mode",
|
|
"reauth_panel_disappeared": "The given panel is no longer associated to this user. Please log in using an account associated to this panel.",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
}
|
|
}
|