* Add monthly forecast * Apply suggestions from code review Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Remove state class and add precision * Apply suggestions from code review Co-authored-by: Robert Resch <robert@resch.dev> * Fix ruff and mypy --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> Co-authored-by: Robert Resch <robert@resch.dev>
30 lines
762 B
JSON
30 lines
762 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"email": "[%key:common::config_flow::data::email%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"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%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"total_consumption": {
|
|
"name": "Total consumption"
|
|
},
|
|
"monthly_forecast": {
|
|
"name": "Monthly forecast"
|
|
}
|
|
}
|
|
}
|
|
}
|