From 3c50399c30eef5526aa87e0507175d225d06b10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20=C3=96stlund?= Date: Fri, 14 Aug 2020 14:34:39 +0200 Subject: [PATCH] adding support trunk closed --- README.md | 2 ++ custom_components/volkswagencarnet/__init__.py | 1 + custom_components/volkswagencarnet/manifest.json | 2 +- requirements.txt | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9b89c38..d40f7c6b 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ Available resources: 'door_closed_left_back', 'door_closed_right_back', 'trunk_locked', + 'trunk_closed', 'request_in_progress', 'sunroof_closed', 'windows_closed', @@ -137,6 +138,7 @@ This plugin creates entities in the format `DOMAIN.NAME_ENTITY`. Not all entitie * **binary_sensor.NAME_parking_light:** whether the parking lights are on. * **binary_sensor.NAME_climatisation_without_external_power:** whether the car would pre-heat or cool when not plugged in. * **binary_sensor.NAME_doors_locked:** whether the car's doors are locked. +* **binary_sensor.NAME_trunk_closed:** whether the car's trunk are closed. * **lock.NAME_door_locked:** indicates and controls the car's door lock. Requires S-PIN to control. * **lock.NAME_trunk_locked:** indicates and controls the car's trunk lock. Requires S-PIN to control. * **switch.NAME_request_in_progress:** indicates whether the plugin is currently updating its data from We Connect. Can be turned on to force an update. diff --git a/custom_components/volkswagencarnet/__init__.py b/custom_components/volkswagencarnet/__init__.py index 909cfacd..7a297aa3 100755 --- a/custom_components/volkswagencarnet/__init__.py +++ b/custom_components/volkswagencarnet/__init__.py @@ -70,6 +70,7 @@ 'door_closed_left_back', 'door_closed_right_back', 'trunk_locked', + 'trunk_closed', 'request_in_progress', 'windows_closed', 'window_closed_left_front', diff --git a/custom_components/volkswagencarnet/manifest.json b/custom_components/volkswagencarnet/manifest.json index c5e10303..b377b707 100644 --- a/custom_components/volkswagencarnet/manifest.json +++ b/custom_components/volkswagencarnet/manifest.json @@ -5,5 +5,5 @@ "issue_tracker": "https://github.com/robinostlund/homeassistant-volkswagencarnet/issues", "dependencies": [], "codeowners": ["@robinostlund"], - "requirements": ["volkswagencarnet==4.4.19"] + "requirements": ["volkswagencarnet==4.4.20"] } \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 942aa884..0a256520 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -volkswagencarnet==4.4.19 \ No newline at end of file +volkswagencarnet==4.4.20 \ No newline at end of file