mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-07-27 17:26:48 +00:00
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:
parent
6937068a7a
commit
5ea6e75295
6 changed files with 7 additions and 7 deletions
|
|
@ -1460,7 +1460,7 @@ plan_charging:
|
|||
number:
|
||||
min: 0
|
||||
max: 100000
|
||||
step: 0.0001
|
||||
step: any
|
||||
mode: box
|
||||
reserve_for_discharge:
|
||||
required: false
|
||||
|
|
@ -1474,7 +1474,7 @@ plan_charging:
|
|||
number:
|
||||
min: 0
|
||||
max: 100000
|
||||
step: 0.0001
|
||||
step: any
|
||||
mode: box
|
||||
output:
|
||||
collapsed: true
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@
|
|||
"message": "Entity '{entity_id}' nicht gefunden. Überprüfe, ob die Entity existiert und verfügbar ist."
|
||||
},
|
||||
"entity_attribute_not_found": {
|
||||
"message": "Entity '{entity_id}' hat kein Attribut '{attribute}'."
|
||||
"message": "Entity {entity_id} hat kein Attribut {attribute}."
|
||||
},
|
||||
"entity_state_unavailable": {
|
||||
"message": "Entity '{entity_id}' hat den Status '{state}'. Die Entity muss einen gültigen Statuswert haben."
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@
|
|||
"message": "Entity '{entity_id}' not found. Verify the entity exists and is available."
|
||||
},
|
||||
"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": {
|
||||
"message": "Entity '{entity_id}' state is '{state}'. The entity must have a valid state value."
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@
|
|||
"message": "Entitet '{entity_id}' ble ikke funnet. Kontroller at entiteten finnes og er tilgjengelig."
|
||||
},
|
||||
"entity_attribute_not_found": {
|
||||
"message": "Entitet '{entity_id}' har ikke attributtet '{attribute}'."
|
||||
"message": "Entitet {entity_id} har ikke attributtet {attribute}."
|
||||
},
|
||||
"entity_state_unavailable": {
|
||||
"message": "Entitet '{entity_id}' har tilstanden '{state}'. Entiteten må ha en gyldig tilstandsverdi."
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@
|
|||
"message": "Entiteit '{entity_id}' niet gevonden. Controleer of de entiteit bestaat en beschikbaar is."
|
||||
},
|
||||
"entity_attribute_not_found": {
|
||||
"message": "Entiteit '{entity_id}' heeft geen attribuut '{attribute}'."
|
||||
"message": "Entiteit {entity_id} heeft geen attribuut {attribute}."
|
||||
},
|
||||
"entity_state_unavailable": {
|
||||
"message": "Entiteit '{entity_id}' heeft status '{state}'. De entiteit moet een geldige statuswaarde hebben."
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@
|
|||
"message": "Entitet '{entity_id}' hittades inte. Kontrollera att entiteten finns och är tillgänglig."
|
||||
},
|
||||
"entity_attribute_not_found": {
|
||||
"message": "Entitet '{entity_id}' har inte attributet '{attribute}'."
|
||||
"message": "Entitet {entity_id} har inte attributet {attribute}."
|
||||
},
|
||||
"entity_state_unavailable": {
|
||||
"message": "Entitet '{entity_id}' har tillståndet '{state}'. Entiteten måste ha ett giltigt tillståndsvärde."
|
||||
|
|
|
|||
Loading…
Reference in a new issue