Files
core/homeassistant/components/blue_current/strings.json
Nick Kuiper 4b7650f2d2 Add buttons to Blue current integration (#143964)
* Add buttons to Blue current integration

* Apply feedback

* Changed configEntry to use the BlueCurrentConfigEntry.

The connector is now accessed via the entry instead of hass.data.

* Changed test_buttons_created test to use the snapshot_platform function.

Also removed the entry.unique_id check in the test_charge_point_buttons function because this is not needed anymore, according to https://github.com/home-assistant/core/pull/114000#discussion_r1627201872

* Applied requested changes.

Changes requested by joostlek.

* Moved has_value from BlueCurrentEntity to class level.

This value was still inside the __init__ function, so the value was not overwritten by the ChargePointButton.

---------

Co-authored-by: Floris272 <florispuijk@outlook.com>
2025-05-14 19:37:16 +02:00

130 lines
3.2 KiB
JSON

{
"config": {
"step": {
"user": {
"data": {
"api_token": "[%key:common::config_flow::data::api_token%]"
},
"description": "Enter your Blue Current API token",
"title": "Authentication"
}
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"limit_reached": "Request limit reached",
"invalid_token": "Invalid token",
"already_connected": "Already connected",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
"wrong_account": "Wrong account: Please authenticate with the API token for {email}."
}
},
"entity": {
"sensor": {
"activity": {
"name": "Activity",
"state": {
"available": "Available",
"charging": "[%key:common::state::charging%]",
"unavailable": "Unavailable",
"error": "[%key:common::state::error%]",
"offline": "Offline"
}
},
"vehicle_status": {
"name": "Vehicle status",
"state": {
"standby": "[%key:common::state::standby%]",
"vehicle_detected": "Detected",
"ready": "Ready",
"no_power": "No power",
"vehicle_error": "[%key:common::state::error%]"
}
},
"actual_v1": {
"name": "Voltage phase 1"
},
"actual_v2": {
"name": "Voltage phase 2"
},
"actual_v3": {
"name": "Voltage phase 3"
},
"avg_voltage": {
"name": "Average voltage"
},
"actual_p1": {
"name": "Current phase 1"
},
"actual_p2": {
"name": "Current phase 2"
},
"actual_p3": {
"name": "Current phase 3"
},
"avg_current": {
"name": "Average current"
},
"total_kw": {
"name": "Total power"
},
"actual_kwh": {
"name": "Energy usage"
},
"start_datetime": {
"name": "Started on"
},
"stop_datetime": {
"name": "Stopped on"
},
"offline_since": {
"name": "Offline since"
},
"total_cost": {
"name": "Total cost"
},
"max_usage": {
"name": "Max usage"
},
"smartcharging_max_usage": {
"name": "Smart charging max usage"
},
"max_offline": {
"name": "Offline max usage"
},
"current_left": {
"name": "Remaining current"
},
"grid_actual_p1": {
"name": "Grid current phase 1"
},
"grid_actual_p2": {
"name": "Grid current phase 2"
},
"grid_actual_p3": {
"name": "Grid current phase 3"
},
"grid_avg_current": {
"name": "Average grid current"
},
"grid_max_current": {
"name": "Max grid current"
}
},
"button": {
"stop_charge_session": {
"name": "Stop charge session"
},
"reboot": {
"name": "Reboot"
},
"reset": {
"name": "Reset"
}
}
}
}