{ "config": { "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_account%]", "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]" }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "invalid_station": "Could not find a station with the specified name", "more_stations": "Found multiple stations with the specified name", "no_trains": "No train found", "multiple_trains": "Multiple trains found", "incorrect_api_key": "Invalid API key for selected account" }, "step": { "user": { "data": { "api_key": "[%key:common::config_flow::data::api_key%]", "to": "To station", "from": "From station", "time": "Time (optional)", "weekday": "Days", "filter_product": "Filter by product description" }, "data_description": { "time": "Set time to search specifically at this time of day, must be exact time as scheduled train departure", "filter_product": "To filter by product description add the phrase here to match" } }, "reauth_confirm": { "data": { "api_key": "[%key:common::config_flow::data::api_key%]" } } } }, "options": { "step": { "init": { "data": { "filter_product": "[%key:component::trafikverket_train::config::step::user::data::filter_product%]" }, "data_description": { "filter_product": "[%key:component::trafikverket_train::config::step::user::data_description::filter_product%]" } } } }, "selector": { "weekday": { "options": { "mon": "[%key:common::time::monday%]", "tue": "[%key:common::time::tuesday%]", "wed": "[%key:common::time::wednesday%]", "thu": "[%key:common::time::thursday%]", "fri": "[%key:common::time::friday%]", "sat": "[%key:common::time::saturday%]", "sun": "[%key:common::time::sunday%]" } } }, "entity": { "sensor": { "departure_time": { "name": "Departure time", "state_attributes": { "product_filter": { "name": "Train filtering" } } }, "departure_state": { "name": "Departure state", "state": { "on_time": "On time", "delayed": "Delayed", "canceled": "Cancelled" }, "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "cancelled": { "name": "Cancelled", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "delayed_time": { "name": "Delayed time", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "planned_time": { "name": "Planned time", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "estimated_time": { "name": "Estimated time", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "actual_time": { "name": "Actual time", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "other_info": { "name": "Other information", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "deviation": { "name": "Deviation", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } } } } }