mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix spelling of "off-grid" and "on-grid" in teslemetry
(#143357)
* Fix spelling of "off-grid" and "on-grid" in `teslemetry` * Update test_number.ambr
This commit is contained in:
parent
d7f6db5efd
commit
26ea97cb44
@ -363,7 +363,7 @@
|
|||||||
"name": "Charge limit"
|
"name": "Charge limit"
|
||||||
},
|
},
|
||||||
"off_grid_vehicle_charging_reserve_percent": {
|
"off_grid_vehicle_charging_reserve_percent": {
|
||||||
"name": "Off grid reserve"
|
"name": "Off-grid reserve"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cover": {
|
"cover": {
|
||||||
@ -495,10 +495,10 @@
|
|||||||
"name": "Island status",
|
"name": "Island status",
|
||||||
"state": {
|
"state": {
|
||||||
"island_status_unknown": "Unknown",
|
"island_status_unknown": "Unknown",
|
||||||
"on_grid": "On grid",
|
"on_grid": "On-grid",
|
||||||
"off_grid": "Off grid",
|
"off_grid": "Off-grid",
|
||||||
"off_grid_intentional": "Off grid intentional",
|
"off_grid_intentional": "Off-grid intentional",
|
||||||
"off_grid_unintentional": "Off grid unintentional"
|
"off_grid_unintentional": "Off-grid unintentional"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"load_power": {
|
"load_power": {
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': <NumberDeviceClass.BATTERY: 'battery'>,
|
'original_device_class': <NumberDeviceClass.BATTERY: 'battery'>,
|
||||||
'original_icon': 'mdi:battery-unknown',
|
'original_icon': 'mdi:battery-unknown',
|
||||||
'original_name': 'Off grid reserve',
|
'original_name': 'Off-grid reserve',
|
||||||
'platform': 'teslemetry',
|
'platform': 'teslemetry',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -101,7 +101,7 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'battery',
|
'device_class': 'battery',
|
||||||
'friendly_name': 'Energy Site Off grid reserve',
|
'friendly_name': 'Energy Site Off-grid reserve',
|
||||||
'icon': 'mdi:battery-unknown',
|
'icon': 'mdi:battery-unknown',
|
||||||
'max': 100,
|
'max': 100,
|
||||||
'min': 0,
|
'min': 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user