Skip to content

Commit

Permalink
Merge pull request #467 from itchannel/1.66
Browse files Browse the repository at this point in the history
1.66
  • Loading branch information
itchannel committed Jan 6, 2024
2 parents b60c046 + ee4a303 commit e957011
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 7 deletions.
4 changes: 2 additions & 2 deletions custom_components/fordpass/device_tracker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Vehicle Tracker Sensor"""
import logging

from homeassistant.components.device_tracker import SOURCE_TYPE_GPS
from homeassistant.components.device_tracker import SourceType
from homeassistant.components.device_tracker.config_entry import TrackerEntity

from . import FordPassEntity
Expand Down Expand Up @@ -46,7 +46,7 @@ def longitude(self):
@property
def source_type(self):
"""Set source type to GPS"""
return SOURCE_TYPE_GPS
return SourceType.GPS

@property
def name(self):
Expand Down
2 changes: 1 addition & 1 deletion custom_components/fordpass/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"loggers": ["custom_components.fordpass"],
"requirements": [],
"ssdp": [],
"version": "0.1.65",
"version": "0.1.66",
"zeroconf": []
}
5 changes: 4 additions & 1 deletion custom_components/fordpass/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"username": "FordPass Username (E-Mail)",
"vin": "FIN",
"region" : "FordPass Region"
}
},
"data_description": {
"username": "Wenn Sie ein Mobiltelefon anstelle einer E-Mail verwenden, geben Sie bitte Ihre Nummer (minus die anfängliche 0) sowie + und die Landesvorwahl ein (z. B. +99123456789)."
}
},
"vehicle": {
"title": "Selecteer voertuig om toe te voegen",
Expand Down
5 changes: 4 additions & 1 deletion custom_components/fordpass/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"username": "Utilisateur FordPass (Email)",
"vin": "NIV",
"region" : "Région FordPass"
}
},
"data_description": {
"username": "Si vous utilisez un mobile au lieu d'un e-mail, veuillez saisir votre numéro (moins le 0 initial), inclure également + et l'indicatif du pays (par exemple +99123456789)."
}
},
"vehicle": {
"title": "Sélectionnez le véhicule à ajouter",
Expand Down
5 changes: 4 additions & 1 deletion custom_components/fordpass/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"username": "FordPass Username (Email)",
"vin": "VIN",
"region" : "FordPass Regione"
}
},
"data_description": {
"username": "Se utilizzi un cellulare anziché un'e-mail, inserisci il tuo numero (meno lo 0 iniziale), includi anche + e il prefisso internazionale (ad esempio +99123456789)"
}
},
"vehicle": {
"title": "Seleziona il veicolo da aggiungere",
Expand Down
5 changes: 4 additions & 1 deletion custom_components/fordpass/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"username": "FordPass gebruikersnaam (e-mailadres)",
"vin": "VIN",
"region" : "FordPass regio"
}
},
"data_description": {
"username": "Hvis du bruker en mobil i stedet for e-post, skriv inn nummeret ditt (minus initial 0), inkluder også + og landskoden (f.eks. +99123456789)"
}
},
"vehicle": {
"title": "Velg kjøretøy som skal legges til",
Expand Down
3 changes: 3 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## **Changelog**
### Version 1.66
- Remove deprecated GPS source type
- Added data_description translations
### Version 1.65
- Add ability to use Lincoln vehicles again
### Version 1.64
Expand Down

0 comments on commit e957011

Please sign in to comment.