* Add OSO Energy integration * Add min/max for v40 level and bump pyosoenergyapi to 1.0.2 * OSO Energy address review comments * Bump pyosoenergyapi to 1.0.3 and remove scan interval * Remove unnecessary code * Update homeassistant/components/osoenergy/__init__.py Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net> * Fixes to latest version * Add support to set temperature * Update homeassistant/components/osoenergy/config_flow.py Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net> * Fixes after review * Remove unused code * Add support for translations and modify services * Apply suggestions from code review Co-authored-by: Robert Resch <robert@resch.dev> * Refactor services and constants according to the PR suggestions * Remove unnecessary code * Remove unused import in constants * Refactoring and support for multiple instances * Apply suggestions from code review Co-authored-by: Robert Resch <robert@resch.dev> * Refactor code and apply review suggestions * Bump pyosoenergyapi to 1.0.5 * Remove services to reduce initial PR * Remove extra state attributes and make OSO Entity generic --------- Co-authored-by: Daniel Hjelseth Høyer <github@dahoiv.net> Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net> Co-authored-by: Robert Resch <robert@resch.dev>
29 lines
1 KiB
JSON
29 lines
1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "OSO Energy Auth",
|
|
"description": "Enter the generated 'Subscription Key' for your account at 'https://portal.osoenergy.no/'",
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
}
|
|
},
|
|
"reauth": {
|
|
"title": "OSO Energy Auth",
|
|
"description": "Generate and enter a new 'Subscription Key' for your account at 'https://portal.osoenergy.no/'.",
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"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%]"
|
|
}
|
|
}
|
|
}
|