Skip to content

Commit

Permalink
Merge 38d8693 into 7e96535
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Dec 4, 2022
2 parents 7e96535 + 38d8693 commit b3feae4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
12 changes: 8 additions & 4 deletions custom_components/powercalc/strings.json
Expand Up @@ -142,12 +142,14 @@
"calculation_enabled_condition": "Calculation enabled condition",
"energy_integration_method": "Energy integration method",
"ignore_unavailable_state": "Ignore unavailable state",
"multiply_factor": "Multiply factor"
"multiply_factor": "Multiply factor",
"unavailable_power": "Unavailable power"
},
"data_description": {
"calculation_enabled_condition": "The configured power calculation strategy will only be executed when this template evaluates to true or 1, otherwise the power sensor will display 0",
"ignore_unavailable_state": "Toggle this setting when you want the power sensor to stay available even if the source entity is unavailable",
"multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups"
"multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups",
"unavailable_power": "Power in W to record when the source entity has an unavailable state"
}
}
},
Expand Down Expand Up @@ -193,7 +195,8 @@
"hide_members": "[%key:component::powercalc::config::step::group::data::hide_members%]",
"energy_integration_method": "[%key:component::powercalc::config::step::power_advanced::data::energy_integration_method%]",
"ignore_unavailable_state": "[%key:component::powercalc::config::step::power_advanced::data::ignore_unavailable_state%]",
"multiply_factor": "[%key:component::powercalc::config::step::power_advanced::data::multiply_factor%]"
"multiply_factor": "[%key:component::powercalc::config::step::power_advanced::data::multiply_factor%]",
"unavailable_power": "[%key:component::powercalc::config::step::power_advanced::data::unavailable_power%]"
},
"data_description": {
"calculation_enabled_condition": "[%key:component::powercalc::config::step::power_advanced::data_description::calculation_enabled_condition%]",
Expand All @@ -206,7 +209,8 @@
"group_power_entities": "[%key:component::powercalc::config::step::group::data_description::group_power_entities%]",
"group_energy_entities": "[%key:component::powercalc::config::step::group::data_description::group_energy_entities%]",
"ignore_unavailable_state": "[%key:component::powercalc::config::step::power_advanced::data_description::ignore_unavailable_state%]",
"multiply_factor": "[%key:component::powercalc::config::step::power_advanced::data_description::multiply_factor%]"
"multiply_factor": "[%key:component::powercalc::config::step::power_advanced::data_description::multiply_factor%]",
"unavailable_power": "[%key:component::powercalc::config::step::power_advanced::data_description::unavailable_power%]"
}
}
},
Expand Down
10 changes: 7 additions & 3 deletions custom_components/powercalc/translations/en.json
Expand Up @@ -119,12 +119,14 @@
"calculation_enabled_condition": "Calculation enabled condition",
"energy_integration_method": "Energy integration method",
"ignore_unavailable_state": "Ignore unavailable state",
"multiply_factor": "Multiply factor"
"multiply_factor": "Multiply factor",
"unavailable_power": "Unavailable power"
},
"data_description": {
"calculation_enabled_condition": "The configured power calculation strategy will only be executed when this template evaluates to true or 1, otherwise the power sensor will display 0",
"ignore_unavailable_state": "Toggle this setting when you want the power sensor to stay available even if the source entity is unavailable",
"multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups"
"multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups",
"unavailable_power": "Power in W to record when the source entity has an unavailable state"
}
},
"user": {
Expand Down Expand Up @@ -199,6 +201,7 @@
"states_power": "States power",
"sub_groups": "Sub groups",
"hide_members": "Hide members",
"unavailable_power": "Unavailable power",
"unit_of_measurement": "Unit of measurement",
"update_frequency": "Update frequency",
"value": "Value",
Expand All @@ -215,7 +218,8 @@
"multiply_factor": "Multiplies the calculated power by this ratio. Can be useful for light groups",
"power_template": "Template will be evaluated to get the power value in W",
"states_power": "One 'state: power' pair on each row, see example above",
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well"
"sub_groups": "All containing sensors from the selected subgroups will be added to this group as well",
"unavailable_power": "Power in W to record when the source entity has an unavailable state"
}
}
}
Expand Down
12 changes: 8 additions & 4 deletions custom_components/powercalc/translations/nl.json
Expand Up @@ -118,13 +118,15 @@
"data": {
"calculation_enabled_condition": "Calculatie ingeschakeld conditie",
"energy_integration_method": "Energie integratie methode",
"ignore_unavailable_state": "Negeer unavailable status",
"multiply_factor": "Multiplicatie factor"
"ignore_unavailable_state": "Negeer onbeschikbaar status",
"multiply_factor": "Multiplicatie factor",
"unavailable_power": "Vermogen indien onbeschikbaar"
},
"data_description": {
"calculation_enabled_condition": "De geconfigureerde vermogen calculatie strategie wordt alleen uitgevoerd indien dit template evalueert naar 1, anders zal de sensor 0 tonen",
"ignore_unavailable_state": "Zet dit aan wanneer je de vermogen sensor beschikbaar wil houden ongeacht de bron sensor niet beschikbaar is.",
"multiply_factor": "Vermenigvuldigd het gecalculeerde vermogen bij deze ratio. Kan handig zijn voor lamp groepen."
"multiply_factor": "Vermenigvuldigd het gecalculeerde vermogen bij deze ratio. Kan handig zijn voor lamp groepen.",
"unavailable_power": "Vermogen in W wanneer de bron sensor onbeschikbaar is"
}
},
"user": {
Expand Down Expand Up @@ -199,6 +201,7 @@
"states_power": "Vermogen per status",
"sub_groups": "Sub groepen",
"hide_members": "Verberg onderliggende sensoren",
"unavailable_power": "Vermogen indien onbeschikbaar",
"unit_of_measurement": "Eenheid",
"update_frequency": "Update frequentie",
"value": "Waarde",
Expand All @@ -215,7 +218,8 @@
"group_energy_entities": "Additionele energie entiteiten (kWh)",
"sub_groups": "Alle onderliggende sensoren van de geselecteerde sub-groepen worden ook automatisch aan deze groep toegevoegd.",
"ignore_unavailable_state": "Zet dit aan wanneer je de vermogen sensor beschikbaar wil houden ongeacht de bron sensor niet beschikbaar is.",
"multiply_factor": "Vermenigvuldigd het gecalculeerde vermogen bij deze ratio. Kan handig zijn voor lamp groepen."
"multiply_factor": "Vermenigvuldigd het gecalculeerde vermogen bij deze ratio. Kan handig zijn voor lamp groepen.",
"unavailable_power": "Vermogen in W wanneer de bron sensor onbeschikbaar is"
}
}
}
Expand Down

0 comments on commit b3feae4

Please sign in to comment.