{ "config": { "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_account%]", "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]", "reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]" }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "incorrect_api_key": "Invalid API key for selected account", "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" }, "step": { "initial": { "data": { "api_key": "[%key:common::config_flow::data::api_key%]", "filter_product": "Filter by product description", "from": "From station", "time": "Time (optional)", "to": "To station", "weekday": "Days" }, "data_description": { "filter_product": "To filter by product description add the phrase here to match", "time": "Set time to search specifically at this time of day, must be exact time as scheduled train departure" } }, "reauth_confirm": { "data": { "api_key": "[%key:common::config_flow::data::api_key%]" } }, "select_stations": { "data": { "from": "From station", "to": "To station" }, "description": "More than one station was found with the provided name, select the correct ones from the provided lists" } } }, "entity": { "sensor": { "actual_time": { "name": "Actual time", "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%]" } } }, "departure_state": { "name": "Departure state", "state": { "canceled": "Cancelled", "delayed": "Delayed", "on_time": "On time" }, "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "departure_time": { "name": "Departure time", "state_attributes": { "product_filter": { "name": "Train filtering" } } }, "departure_time_next": { "name": "Departure time next", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } }, "departure_time_next_next": { "name": "Departure time next after", "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%]" } } }, "estimated_time": { "name": "Estimated 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%]" } } }, "planned_time": { "name": "Planned time", "state_attributes": { "product_filter": { "name": "[%key:component::trafikverket_train::entity::sensor::departure_time::state_attributes::product_filter::name%]" } } } } }, "options": { "step": { "init": { "data": { "filter_product": "[%key:component::trafikverket_train::config::step::initial::data::filter_product%]" }, "data_description": { "filter_product": "[%key:component::trafikverket_train::config::step::initial::data_description::filter_product%]" } } } }, "selector": { "weekday": { "options": { "fri": "[%key:common::time::friday%]", "mon": "[%key:common::time::monday%]", "sat": "[%key:common::time::saturday%]", "sun": "[%key:common::time::sunday%]", "thu": "[%key:common::time::thursday%]", "tue": "[%key:common::time::tuesday%]", "wed": "[%key:common::time::wednesday%]" } } } }