mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix missing translations in utility_meter (#130652)
This commit is contained in:
parent
62a5a219d9
commit
aea8e8abac
@ -25,6 +25,9 @@
|
|||||||
"tariffs": "A list of supported tariffs, leave empty if only a single tariff is needed."
|
"tariffs": "A list of supported tariffs, leave empty if only a single tariff is needed."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"tariffs_not_unique": "Tariffs must be unique"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
|
@ -72,10 +72,6 @@ async def test_config_flow(hass: HomeAssistant, platform) -> None:
|
|||||||
assert config_entry.title == "Electricity meter"
|
assert config_entry.title == "Electricity meter"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.utility_meter.config.error.tariffs_not_unique"],
|
|
||||||
)
|
|
||||||
async def test_tariffs(hass: HomeAssistant) -> None:
|
async def test_tariffs(hass: HomeAssistant) -> None:
|
||||||
"""Test tariffs."""
|
"""Test tariffs."""
|
||||||
input_sensor_entity_id = "sensor.input"
|
input_sensor_entity_id = "sensor.input"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user