{ "config": { "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]", "reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]", "unique_id_mismatch": "The Portainer instance ID does not match the previously configured instance. This can occur if the device was reset or reconfigured outside of Home Assistant." }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "timeout_connect": "[%key:common::config_flow::error::timeout_connect%]", "unknown": "[%key:common::config_flow::error::unknown%]" }, "step": { "reauth_confirm": { "data": { "api_token": "[%key:common::config_flow::data::api_token%]" }, "data_description": { "api_token": "The new API access token for authenticating with Portainer" }, "description": "The access token for your Portainer instance needs to be re-authenticated. You can create a new access token in the Portainer UI. Go to **My account > Access tokens** and select **Add access token**" }, "reconfigure": { "data": { "api_token": "[%key:common::config_flow::data::api_token%]", "url": "[%key:common::config_flow::data::url%]", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" }, "data_description": { "api_token": "[%key:component::portainer::config::step::user::data_description::api_token%]", "url": "[%key:component::portainer::config::step::user::data_description::url%]", "verify_ssl": "[%key:component::portainer::config::step::user::data_description::verify_ssl%]" }, "description": "Use the following form to reconfigure your Portainer instance.", "title": "Reconfigure Portainer Integration" }, "user": { "data": { "api_token": "[%key:common::config_flow::data::api_token%]", "url": "[%key:common::config_flow::data::url%]", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" }, "data_description": { "api_token": "The API access token for authenticating with Portainer", "url": "The URL, including the port, of your Portainer instance", "verify_ssl": "Whether to verify SSL certificates. Disable only if you have a self-signed certificate" }, "description": "You can create an access token in the Portainer UI. Go to **My account > Access tokens** and select **Add access token**" } } }, "device": { "unknown_container": { "name": "Unknown container" } }, "entity": { "binary_sensor": { "status": { "name": "Status" } }, "button": { "images_prune": { "name": "Prune unused images" }, "kill_container": { "name": "Kill container" }, "pause_container": { "name": "Pause container" }, "recreate_container": { "name": "Recreate container" }, "restart_container": { "name": "Restart container" }, "resume_container": { "name": "Resume container" }, "volumes_prune": { "name": "Prune unused volumes" } }, "sensor": { "api_version": { "name": "API version" }, "architecture": { "name": "Architecture" }, "container_disk_usage_reclaimable": { "name": "Container disk usage reclaimable" }, "container_disk_usage_total_size": { "name": "Container disk usage total size" }, "container_state": { "name": "State", "state": { "created": "Created", "dead": "Dead", "exited": "Exited", "paused": "Paused", "restarting": "Restarting", "running": "Running" } }, "containers_count": { "name": "Container count" }, "containers_paused": { "name": "Containers paused" }, "containers_running": { "name": "Containers running" }, "containers_stopped": { "name": "Containers stopped" }, "cpu_total": { "name": "Total CPU" }, "cpu_usage_total": { "name": "CPU usage total" }, "docker_version": { "name": "Docker version" }, "image": { "name": "Image" }, "image_disk_usage_reclaimable": { "name": "Image disk usage reclaimable" }, "image_disk_usage_total_size": { "name": "Image disk usage total size" }, "images_count": { "name": "Image count" }, "kernel_version": { "name": "Kernel version" }, "memory_limit": { "name": "Memory limit" }, "memory_total": { "name": "Total memory" }, "memory_usage": { "name": "Memory usage" }, "memory_usage_percentage": { "name": "Memory usage percentage" }, "operating_system": { "name": "Operating system" }, "operating_system_version": { "name": "Operating system version" }, "stack_containers_count": { "name": "Containers", "unit_of_measurement": "containers" }, "stack_type": { "name": "Type", "state": { "compose": "Compose", "kubernetes": "Kubernetes", "swarm": "Swarm" } }, "volume_disk_usage_total_size": { "name": "Volume disk usage total size" }, "volume_driver": { "name": "Volume driver" }, "volume_size": { "name": "Volume size" } }, "switch": { "container": { "name": "Container" }, "stack": { "name": "Stack" } } }, "exceptions": { "cannot_connect": { "message": "An error occurred while trying to connect to the Portainer instance: {error}" }, "cannot_connect_no_details": { "message": "An error occurred while trying to connect to the Portainer instance." }, "invalid_auth": { "message": "An error occurred while trying to authenticate: {error}" }, "invalid_auth_no_details": { "message": "An error occurred while trying to authenticate." }, "invalid_target": { "message": "Invalid device targeted." }, "timeout_connect": { "message": "A timeout occurred while trying to connect to the Portainer instance: {error}" }, "timeout_connect_no_details": { "message": "A timeout occurred while trying to connect to the Portainer instance." } }, "services": { "prune_images": { "description": "Prunes unused images on a Portainer endpoint.", "fields": { "dangling": { "description": "If true, only prune dangling images.", "name": "Dangling" }, "device_id": { "description": "The endpoint to prune images on.", "name": "Endpoint" }, "until": { "description": "Prune images unused for at least this time duration in the past. If not provided, all unused images will be pruned.", "name": "Until" } }, "name": "Prune unused images" }, "recreate_container": { "description": "Recreates a container on a Portainer endpoint. This is more disruptive than a restart as the container will be stopped, removed, and then re-created with the same configuration. Use with caution.", "fields": { "container_device_id": { "description": "The container to recreate.", "name": "Container" }, "pull_image": { "description": "Whether to pull the image before recreating the container. This can be used to update the container to the latest version of the image.", "name": "Pull image" }, "timeout": { "description": "The time to wait for the container to stop before killing it. If not provided, a default of 5 minutes will be used.", "name": "Timeout" } }, "name": "Recreate container" } }, "system_health": { "info": { "can_reach_server": "Reach Portainer server" } } }