mirror of
https://github.com/home-assistant/core.git
synced 2026-06-09 08:57:06 +01:00
d8549409f7
* area conversions * start work on tests * add number device class * update unit conversions to utilise distance constants * add area unit * update test unit system * update device condition and trigger * update statistic unit converters * further tests work WIP * update test unit system * add missing string translations * fix websocket tests * add deprecated notice * add more missing strings and missing initialisation of unit system * adjust icon and remove strings from scrape and random * Fix acre to meters conversion Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Tidy up valid units Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * fix ordering of area * update order alphabetically * fix broken test * update test_init * Update homeassistant/const.py Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * remove deprecated unit and fix alphabetical order * change deprecation and add tests, change to millimeter conversion for inches * fix order * re-order defs alphabetically * add measurement as well * update icons * fix up Deprecation of area square meters * Update core integrations to UnitOfArea * update test recorder tests * unit system tests in alphabetical * update snapshot * rebuild * revert alphabetization of functions * other revert of alphabetical order --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
194 lines
6.0 KiB
JSON
194 lines
6.0 KiB
JSON
{
|
|
"title": "Number",
|
|
"device_automation": {
|
|
"action_type": {
|
|
"set_value": "Set value for {entity_name}"
|
|
},
|
|
"extra_fields": {
|
|
"value": "[%key:common::device_automation::extra_fields::value%]"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::number::title%]",
|
|
"state_attributes": {
|
|
"max": {
|
|
"name": "Maximum"
|
|
},
|
|
"min": {
|
|
"name": "Minimum"
|
|
},
|
|
"mode": {
|
|
"name": "Mode",
|
|
"state": {
|
|
"auto": "Automatic",
|
|
"box": "Box",
|
|
"slider": "Slider"
|
|
}
|
|
},
|
|
"step": {
|
|
"name": "Step"
|
|
}
|
|
}
|
|
},
|
|
"apparent_power": {
|
|
"name": "[%key:component::sensor::entity_component::apparent_power::name%]"
|
|
},
|
|
"aqi": {
|
|
"name": "[%key:component::sensor::entity_component::aqi::name%]"
|
|
},
|
|
"area": {
|
|
"name": "[%key:component::sensor::entity_component::area::name%]"
|
|
},
|
|
"atmospheric_pressure": {
|
|
"name": "[%key:component::sensor::entity_component::atmospheric_pressure::name%]"
|
|
},
|
|
"battery": {
|
|
"name": "[%key:component::sensor::entity_component::battery::name%]"
|
|
},
|
|
"blood_glucose_concentration": {
|
|
"name": "[%key:component::sensor::entity_component::blood_glucose_concentration::name%]"
|
|
},
|
|
"carbon_dioxide": {
|
|
"name": "[%key:component::sensor::entity_component::carbon_dioxide::name%]"
|
|
},
|
|
"carbon_monoxide": {
|
|
"name": "[%key:component::sensor::entity_component::carbon_monoxide::name%]"
|
|
},
|
|
"conductivity": {
|
|
"name": "[%key:component::sensor::entity_component::conductivity::name%]"
|
|
},
|
|
"current": {
|
|
"name": "[%key:component::sensor::entity_component::current::name%]"
|
|
},
|
|
"data_rate": {
|
|
"name": "[%key:component::sensor::entity_component::data_rate::name%]"
|
|
},
|
|
"distance": {
|
|
"name": "[%key:component::sensor::entity_component::distance::name%]"
|
|
},
|
|
"energy": {
|
|
"name": "[%key:component::sensor::entity_component::energy::name%]"
|
|
},
|
|
"energy_storage": {
|
|
"name": "[%key:component::sensor::entity_component::energy_storage::name%]"
|
|
},
|
|
"frequency": {
|
|
"name": "[%key:component::sensor::entity_component::frequency::name%]"
|
|
},
|
|
"gas": {
|
|
"name": "[%key:component::sensor::entity_component::gas::name%]"
|
|
},
|
|
"humidity": {
|
|
"name": "[%key:component::sensor::entity_component::humidity::name%]"
|
|
},
|
|
"illuminance": {
|
|
"name": "[%key:component::sensor::entity_component::illuminance::name%]"
|
|
},
|
|
"irradiance": {
|
|
"name": "[%key:component::sensor::entity_component::irradiance::name%]"
|
|
},
|
|
"moisture": {
|
|
"name": "[%key:component::sensor::entity_component::moisture::name%]"
|
|
},
|
|
"nitrogen_dioxide": {
|
|
"name": "[%key:component::sensor::entity_component::nitrogen_dioxide::name%]"
|
|
},
|
|
"nitrogen_monoxide": {
|
|
"name": "[%key:component::sensor::entity_component::nitrogen_monoxide::name%]"
|
|
},
|
|
"nitrous_oxide": {
|
|
"name": "[%key:component::sensor::entity_component::nitrous_oxide::name%]"
|
|
},
|
|
"ozone": {
|
|
"name": "[%key:component::sensor::entity_component::ozone::name%]"
|
|
},
|
|
"ph": {
|
|
"name": "[%key:component::sensor::entity_component::ph::name%]"
|
|
},
|
|
"pm1": {
|
|
"name": "[%key:component::sensor::entity_component::pm1::name%]"
|
|
},
|
|
"pm10": {
|
|
"name": "[%key:component::sensor::entity_component::pm10::name%]"
|
|
},
|
|
"pm25": {
|
|
"name": "[%key:component::sensor::entity_component::pm25::name%]"
|
|
},
|
|
"power_factor": {
|
|
"name": "[%key:component::sensor::entity_component::power_factor::name%]"
|
|
},
|
|
"power": {
|
|
"name": "[%key:component::sensor::entity_component::power::name%]"
|
|
},
|
|
"precipitation": {
|
|
"name": "[%key:component::sensor::entity_component::precipitation::name%]"
|
|
},
|
|
"precipitation_intensity": {
|
|
"name": "[%key:component::sensor::entity_component::precipitation_intensity::name%]"
|
|
},
|
|
"pressure": {
|
|
"name": "[%key:component::sensor::entity_component::pressure::name%]"
|
|
},
|
|
"reactive_power": {
|
|
"name": "[%key:component::sensor::entity_component::reactive_power::name%]"
|
|
},
|
|
"signal_strength": {
|
|
"name": "[%key:component::sensor::entity_component::signal_strength::name%]"
|
|
},
|
|
"sound_pressure": {
|
|
"name": "[%key:component::sensor::entity_component::sound_pressure::name%]"
|
|
},
|
|
"speed": {
|
|
"name": "[%key:component::sensor::entity_component::speed::name%]"
|
|
},
|
|
"sulphur_dioxide": {
|
|
"name": "[%key:component::sensor::entity_component::sulphur_dioxide::name%]"
|
|
},
|
|
"temperature": {
|
|
"name": "[%key:component::sensor::entity_component::temperature::name%]"
|
|
},
|
|
"volatile_organic_compounds": {
|
|
"name": "[%key:component::sensor::entity_component::volatile_organic_compounds::name%]"
|
|
},
|
|
"voltage": {
|
|
"name": "[%key:component::sensor::entity_component::voltage::name%]"
|
|
},
|
|
"volume": {
|
|
"name": "[%key:component::sensor::entity_component::volume::name%]"
|
|
},
|
|
"volume_storage": {
|
|
"name": "[%key:component::sensor::entity_component::volume_storage::name%]"
|
|
},
|
|
"volume_flow_rate": {
|
|
"name": "[%key:component::sensor::entity_component::volume_flow_rate::name%]"
|
|
},
|
|
"water": {
|
|
"name": "[%key:component::sensor::entity_component::water::name%]"
|
|
},
|
|
"weight": {
|
|
"name": "[%key:component::sensor::entity_component::weight::name%]"
|
|
},
|
|
"wind_speed": {
|
|
"name": "[%key:component::sensor::entity_component::wind_speed::name%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"out_of_range": {
|
|
"message": "Value {value} for {entity_id} is outside valid range {min_value} - {max_value}."
|
|
}
|
|
},
|
|
"services": {
|
|
"set_value": {
|
|
"name": "Set",
|
|
"description": "Sets the value of a number.",
|
|
"fields": {
|
|
"value": {
|
|
"name": "Value",
|
|
"description": "The target value to set."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|