Skip to content

Commit

Permalink
InspectionInterval Sensor (#168)
Browse files Browse the repository at this point in the history
- Activate InspectionInterval Sensor
- Add translations
- Sort translations file alphabetically for easier lookup when adding translations
  • Loading branch information
WebSpider authored Nov 4, 2024
1 parent b29ea2a commit 30ab6c4
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 144 deletions.
1 change: 1 addition & 0 deletions custom_components/myskoda/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async def async_setup_entry(
RemainingDistance,
SoftwareVersion,
TargetBatteryPercentage,
InspectionInterval,
],
coordinators=hass.data[DOMAIN][config.entry_id][COORDINATORS],
async_add_entities=async_add_entities,
Expand Down
291 changes: 147 additions & 144 deletions custom_components/myskoda/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,162 +19,165 @@
},
"entity": {
"binary_sensor": {
"charger_connected": {
"name": "Charger Connected",
"state": {
"on": "Plugged in",
"off": "Unplugged"
}
},
"charger_locked": {
"name": "Charge Lock",
"state": {
"on": "Unlocked",
"off": "Locked"
}
},
"locked": {
"name": "Vehicle Locked",
"state": {
"on": "Unlocked",
"off": "Locked"
}
},
"doors_locked": {
"name": "Doors Locked",
"state": {
"on": "Unlocked",
"off": "Locked"
}
},
"doors_open": {
"name": "Doors Open",
"state": {
"on": "Open",
"off": "Closed"
}
},
"windows_open": {
"name": "Windows",
"state": {
"on": "Open",
"off": "Closed"
}
},
"trunk_open": {
"name": "Trunk",
"state": {
"on": "Open",
"off": "Closed"
}
},
"bonnet_open": {
"name": "Bonnet",
"state": {
"on": "Open",
"off": "Closed"
}
},
"sunroof_open": {
"name": "Sunroof",
"state": {
"on": "Open",
"off": "Closed"
}
},
"lights_on": {
"name": "Lights",
"state": {
"on": "On",
"off": "Off"
}
}
},
"climate": {
"climate": {
"bonnet_open": {
"name": "Bonnet",
"state": {
"off": "Closed",
"on": "Open"
}
},
"charger_connected": {
"name": "Charger Connected",
"state": {
"off": "Unplugged",
"on": "Plugged in"
}
},
"charger_locked": {
"name": "Charge Lock",
"state": {
"off": "Locked",
"on": "Unlocked"
}
},
"doors_locked": {
"name": "Doors Locked",
"state": {
"off": "Locked",
"on": "Unlocked"
}
},
"doors_open": {
"name": "Doors Open",
"state": {
"off": "Closed",
"on": "Open"
}
},
"lights_on": {
"name": "Lights",
"state": {
"off": "Off",
"on": "On"
}
},
"locked": {
"name": "Vehicle Locked",
"state": {
"off": "Locked",
"on": "Unlocked"
}
},
"sunroof_open": {
"name": "Sunroof",
"state": {
"off": "Closed",
"on": "Open"
}
},
"trunk_open": {
"name": "Trunk",
"state": {
"off": "Closed",
"on": "Open"
}
},
"windows_open": {
"name": "Windows",
"state": {
"off": "Closed",
"on": "Open"
}
}
},
"climate": {
"climate": {
"name": "Air Conditioning"
}
},
"device_tracker": {
"device_tracker": {
}
},
"device_tracker": {
"device_tracker": {
"name": "Position",
"state": {
"vehicle_in_motion": "Motion detected",
"not_home": "Away",
"home": "Home"
}
}
},
"number": {
"charge_limit": {
"home": "Home",
"not_home": "Away",
"vehicle_in_motion": "Motion detected"
}
}
},
"image": {
"render_vehicle_main": {
"name": "Main Render of Vehicle"
}
},
"number": {
"charge_limit": {
"name": "Charge Limit"
}
},
"image": {
"render_vehicle_main": {
"name": "Main Render of Vehicle"
}
},
"sensor": {
"software_version": {
"name": "Software Version"
},
"battery_percentage": {
"name": "Battery Percentage"
},
"charging_power": {
"name": "Charging Power"
},
"charging_state": {
}
},
"sensor": {
"battery_percentage": {
"name": "Battery Percentage"
},
"car_captured": {
"name": "Last Updated"
},
"charge_type": {
"name": "Charge Type",
"state": {
"ac": "AC",
"dc": "DC",
"off": "OFF"
}
},
"charging_power": {
"name": "Charging Power"
},
"charging_state": {
"name": "Charging State",
"state": {
"charging": "Charging",
"connect_cable": "Cable Disconnected",
"ready_for_charging": "Ready for Charging",
"conserving": "Conserving Charge",
"charging": "Charging"
"ready_for_charging": "Ready for Charging"
}
},
"range": {
"name": "Range"
},
"target_battery_percentage": {
"name": "Target Battery Percentage"
"inspection": {
"name": "Next Inspection"
},
"mileage": {
"name": "Mileage"
},
"charge_type": {
"name": "Charge Type",
"state": {
"ac": "AC",
"dc": "DC",
"off": "OFF"
}
},
"remaining_charging_time": {
"name": "Remaining Charging Time"
},
"car_captured": {
"name": "Last Updated"
}
},
"switch": {
"mileage": {
"name": "Mileage"
},
"range": {
"name": "Range"
},
"remaining_charging_time": {
"name": "Remaining Charging Time"
},
"software_version": {
"name": "Software Version"
},
"target_battery_percentage": {
"name": "Target Battery Percentage"
}
},
"switch": {
"battery_care_mode": {
"name": "Battery Care"
},
"charging": {
"name": "Charging"
},
"charging_switch": {
"name": "Charging"
},
"reduced_current": {
"name": "Reduced Current"
},
"window_heating": {
"name": "Window Heating"
},
"charging_switch": {
"name": "Charging"
},
"battery_care_mode": {
"name": "Battery Care"
},
"reduced_current": {
"name": "Reduced Current"
},
"charging": {
"name": "Charging"
}
}
"name": "Window Heating"
}
}
},
"options": {
"step": {
Expand Down

0 comments on commit 30ab6c4

Please sign in to comment.