From 7823565664da056e4fe4191567c6ab6735f568b9 Mon Sep 17 00:00:00 2001 From: Phil Cole Date: Thu, 22 Aug 2019 16:23:12 +0100 Subject: [PATCH] Nissan Leaf API changes. Remove device tracker support. --- source/_components/nissan_leaf.markdown | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/source/_components/nissan_leaf.markdown b/source/_components/nissan_leaf.markdown index 534fb8d5c00..7a66e7273f0 100644 --- a/source/_components/nissan_leaf.markdown +++ b/source/_components/nissan_leaf.markdown @@ -16,7 +16,6 @@ The `nissan_leaf` integration offers integration with the [NissanConnect EV](htt * sensors for the battery status, range and charging status * a switch to start and stop the climate control -* a device tracker to locate the car (only on later Leaf models) * services to request updates from the car and to request the car starts charging. ## Configuration @@ -43,11 +42,6 @@ region: description: The region where the NissanConnect EV account is registered. Should be one of the following, NE (for Europe), NNA (USA), NCI (Canada), NMA (Australia), NML (Japan). required: true type: string -nissan_connect: - description: If your car has the updated head unit (NissanConnect rather than Carwings) then the location can be acquired and exposed via a device tracker. If you have Carwings then this should be set to false. The easiest way to identify NissanConnect is if the T&C buttons are orange and blue, for CarWings they're both blue, or just look for anything saying "CarWings" in Settings area of the infotainment system. - required: false - type: boolean - default: true update_interval: description: The interval between updates if the climate control is off and the car is not charging. Set in any time unit (e.g. minutes, hours, days!). required: false @@ -75,7 +69,6 @@ nissan_leaf: username: "YOUR_USERNAME" password: "YOUR_PASSWORD" region: "YOUR_REGION" - nissan_connect: true update_interval: hours: 1 update_interval_charging: @@ -87,7 +80,7 @@ nissan_leaf: ## Starting a Charge -You can use the `nissan_leaf.start_charge` service to send a request to the Nissan servers to start a charge. The car must be plugged in! The service requires you to provide the vehicle identification number (VIN) as a parameter. You can see the VIN on the attributes of all the entities created by this component, except the device_tracker. +You can use the `nissan_leaf.start_charge` service to send a request to the Nissan servers to start a charge. The car must be plugged in! The service requires you to provide the vehicle identification number (VIN) as a parameter. You can see the VIN on the attributes of all the entities created by this component. ```yaml - service: nissan_leaf.start_charge @@ -125,6 +118,7 @@ You can also use the `nissan_leaf.update` service to request an on-demand update * The Nissan APIs do not allow charging to be stopped remotely. * The Nissan servers have a history of being unstable, therefore please confirm that the official Nissan Leaf app/website is working correctly before reporting bugs. * In the UK the cut-off for Carwings was the 16 plate 24 kWh and the 65 plate 30 kWh. Cars after this have NissanConnect. +* As of 25 July 2019 the MyCarFinder API is not longer available, hence the device_tracker support has been removed. Please report bugs using the following logger configuration. @@ -133,7 +127,6 @@ logger: default: critical logs: homeassistant.components.nissan_leaf: debug - homeassistant.components.device_tracker.nissan_leaf: debug homeassistant.components.sensor.nissan_leaf: debug homeassistant.components.switch.nissan_leaf: debug ```