Skip to content

Commit

Permalink
Adds data description
Browse files Browse the repository at this point in the history
  • Loading branch information
knudsvik committed Feb 10, 2023
1 parent 8cb5d3e commit c38d076
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
10 changes: 7 additions & 3 deletions custom_components/energyscore/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
"step": {
"init": {
"title": "Manage options",
"description": "See documentation for how these options affect the EnergyScore",
"data": {
"energy_treshold": "Energy Treshold (default = 0)",
"rolling_hours": "Rolling Hours (default = 24)"
"energy_treshold": "Energy Treshold",
"rolling_hours": "Rolling Hours"
},
"description": "See documentation for how these options affect the EnergyScore"
"data_description": {
"energy_treshold": "Energy less than the treshold (during one hour) will not contribute to the EnergyScore. Default value = 0",
"rolling_hours": "The period of time an EnergyScore should be scored on. Default value = 24 hours"
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions custom_components/energyscore/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
"step": {
"init": {
"title": "Manage options",
"description": "See documentation for how these options affect the EnergyScore",
"data": {
"energy_treshold": "Energy Treshold (default = 0)",
"rolling_hours": "Rolling Hours (default = 24)"
"energy_treshold": "Energy Treshold",
"rolling_hours": "Rolling Hours"
},
"description": "See documentation for how these options affect the EnergyScore"
"data_description": {
"energy_treshold": "Energy less than the treshold (during one hour) will not contribute to the EnergyScore. Default value = 0",
"rolling_hours": "The period of time an EnergyScore should be scored on. Default value = 24 hours"
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions custom_components/energyscore/translations/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
"step": {
"init": {
"title": "Alternativer",
"description": "Se dokumentasjon for forklaring på hvordan alternativene påvirker EnergyScore",
"data": {
"energy_treshold": "Energigrense (standardverdi = 0)",
"rolling_hours": "Periode i timer (standardverdi = 24)"
"energy_treshold": "Energigrense",
"rolling_hours": "Periode i timer"
},
"description": "Se dokumentasjon for forklaring på hvordan alternativene påvirker EnergyScore"
"data_description": {
"energy_treshold": "Energi mindre enn grensen (i løpet av en time) bidrar ikke til EnergyScore. Standardverdi = 0",
"rolling_hours": "Tidsperioden EnergyScore skal bli kalkulert over. Standardverdi = 24 timer"
}
}
}
}
Expand Down

0 comments on commit c38d076

Please sign in to comment.