refactor(services): change step value to 'any' for plan_charging fields

Updated the step value for number fields in the plan_charging service to allow any value instead of a fixed increment. This change enhances flexibility in user input.

Impact: Users can now specify any value within the defined range for charging plans.

---
refactor(translations): update error message formatting for entity attributes

Modified the error messages in multiple translation files to remove curly braces around entity attributes. This improves consistency in message formatting across languages.

Impact: Users will see cleaner error messages when attributes are not found.
This commit is contained in:
Julian Pawlowski 2026-06-01 11:16:21 +00:00
parent 6937068a7a
commit 5ea6e75295
6 changed files with 7 additions and 7 deletions

View file

@ -1460,7 +1460,7 @@ plan_charging:
number: number:
min: 0 min: 0
max: 100000 max: 100000
step: 0.0001 step: any
mode: box mode: box
reserve_for_discharge: reserve_for_discharge:
required: false required: false
@ -1474,7 +1474,7 @@ plan_charging:
number: number:
min: 0 min: 0
max: 100000 max: 100000
step: 0.0001 step: any
mode: box mode: box
output: output:
collapsed: true collapsed: true

View file

@ -1304,7 +1304,7 @@
"message": "Entity '{entity_id}' nicht gefunden. Überprüfe, ob die Entity existiert und verfügbar ist." "message": "Entity '{entity_id}' nicht gefunden. Überprüfe, ob die Entity existiert und verfügbar ist."
}, },
"entity_attribute_not_found": { "entity_attribute_not_found": {
"message": "Entity '{entity_id}' hat kein Attribut '{attribute}'." "message": "Entity {entity_id} hat kein Attribut {attribute}."
}, },
"entity_state_unavailable": { "entity_state_unavailable": {
"message": "Entity '{entity_id}' hat den Status '{state}'. Die Entity muss einen gültigen Statuswert haben." "message": "Entity '{entity_id}' hat den Status '{state}'. Die Entity muss einen gültigen Statuswert haben."

View file

@ -1304,7 +1304,7 @@
"message": "Entity '{entity_id}' not found. Verify the entity exists and is available." "message": "Entity '{entity_id}' not found. Verify the entity exists and is available."
}, },
"entity_attribute_not_found": { "entity_attribute_not_found": {
"message": "Entity '{entity_id}' does not have attribute '{attribute}'." "message": "Entity {entity_id} does not have attribute {attribute}."
}, },
"entity_state_unavailable": { "entity_state_unavailable": {
"message": "Entity '{entity_id}' state is '{state}'. The entity must have a valid state value." "message": "Entity '{entity_id}' state is '{state}'. The entity must have a valid state value."

View file

@ -1304,7 +1304,7 @@
"message": "Entitet '{entity_id}' ble ikke funnet. Kontroller at entiteten finnes og er tilgjengelig." "message": "Entitet '{entity_id}' ble ikke funnet. Kontroller at entiteten finnes og er tilgjengelig."
}, },
"entity_attribute_not_found": { "entity_attribute_not_found": {
"message": "Entitet '{entity_id}' har ikke attributtet '{attribute}'." "message": "Entitet {entity_id} har ikke attributtet {attribute}."
}, },
"entity_state_unavailable": { "entity_state_unavailable": {
"message": "Entitet '{entity_id}' har tilstanden '{state}'. Entiteten må ha en gyldig tilstandsverdi." "message": "Entitet '{entity_id}' har tilstanden '{state}'. Entiteten må ha en gyldig tilstandsverdi."

View file

@ -1304,7 +1304,7 @@
"message": "Entiteit '{entity_id}' niet gevonden. Controleer of de entiteit bestaat en beschikbaar is." "message": "Entiteit '{entity_id}' niet gevonden. Controleer of de entiteit bestaat en beschikbaar is."
}, },
"entity_attribute_not_found": { "entity_attribute_not_found": {
"message": "Entiteit '{entity_id}' heeft geen attribuut '{attribute}'." "message": "Entiteit {entity_id} heeft geen attribuut {attribute}."
}, },
"entity_state_unavailable": { "entity_state_unavailable": {
"message": "Entiteit '{entity_id}' heeft status '{state}'. De entiteit moet een geldige statuswaarde hebben." "message": "Entiteit '{entity_id}' heeft status '{state}'. De entiteit moet een geldige statuswaarde hebben."

View file

@ -1304,7 +1304,7 @@
"message": "Entitet '{entity_id}' hittades inte. Kontrollera att entiteten finns och är tillgänglig." "message": "Entitet '{entity_id}' hittades inte. Kontrollera att entiteten finns och är tillgänglig."
}, },
"entity_attribute_not_found": { "entity_attribute_not_found": {
"message": "Entitet '{entity_id}' har inte attributet '{attribute}'." "message": "Entitet {entity_id} har inte attributet {attribute}."
}, },
"entity_state_unavailable": { "entity_state_unavailable": {
"message": "Entitet '{entity_id}' har tillståndet '{state}'. Entiteten måste ha ett giltigt tillståndsvärde." "message": "Entitet '{entity_id}' har tillståndet '{state}'. Entiteten måste ha ett giltigt tillståndsvärde."