From 7a11458a47e977622181c6cbfe3c367f0b2177a7 Mon Sep 17 00:00:00 2001 From: Tiago Rodrigues Date: Wed, 15 Feb 2023 11:42:27 +0000 Subject: [PATCH 1/6] Add button section to renault documentation page --- Gemfile.lock | 2 ++ source/_integrations/renault.markdown | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index 5767bda7d27f..1ec4cceb5c7c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,6 +119,7 @@ GEM tzinfo-data (1.2022.7) tzinfo (>= 1.0.0) unicode-display_width (2.4.2) + wdm (0.1.1) webrick (1.8.1) PLATFORMS @@ -140,6 +141,7 @@ DEPENDENCIES stringex (= 2.8.5) tzinfo (~> 2.0) tzinfo-data + wdm (~> 0.1.0) RUBY VERSION ruby 2.6.2p47 diff --git a/source/_integrations/renault.markdown b/source/_integrations/renault.markdown index d83638a30761..c2a41532c5ea 100644 --- a/source/_integrations/renault.markdown +++ b/source/_integrations/renault.markdown @@ -37,6 +37,24 @@ This integration provides the following platforms: All vehicles linked to the account should then get added as devices, with sensors added as linked entity. +## Buttons + +### Button `button.renault_start_charge` + +Start charging the vehicle. + +Note: + +- This button can be unavailable for your vehicle. + +### Button `button.renault_stop_charge` + +Stop charging the vehicle. + +Note: + +- This button can be unavailable for your vehicle. + ## Services ### Service `renault.ac_start` From 809279ee2b7eedd81b4c95b8cdb6a75a4b74d32e Mon Sep 17 00:00:00 2001 From: Tiago Rodrigues Date: Wed, 15 Feb 2023 11:43:49 +0000 Subject: [PATCH 2/6] revert change --- Gemfile.lock | 2 -- 1 file changed, 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1ec4cceb5c7c..fcdd8770bf3f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,8 +119,6 @@ GEM tzinfo-data (1.2022.7) tzinfo (>= 1.0.0) unicode-display_width (2.4.2) - wdm (0.1.1) - webrick (1.8.1) PLATFORMS ruby From f230043ee92f9f5aa54c449a9bbee1d4a5c48d58 Mon Sep 17 00:00:00 2001 From: rodriguestiago0 Date: Wed, 15 Feb 2023 11:55:07 +0000 Subject: [PATCH 3/6] Update Gemfile.lock Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --- Gemfile.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile.lock b/Gemfile.lock index fcdd8770bf3f..52fe519411df 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,6 +119,7 @@ GEM tzinfo-data (1.2022.7) tzinfo (>= 1.0.0) unicode-display_width (2.4.2) + webrick (1.8.1) PLATFORMS ruby From 4aca989cc174ec27aef889ca4ef93670e76dfddc Mon Sep 17 00:00:00 2001 From: rodriguestiago0 Date: Wed, 15 Feb 2023 11:55:13 +0000 Subject: [PATCH 4/6] Update Gemfile.lock Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --- Gemfile.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 52fe519411df..5767bda7d27f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -140,7 +140,6 @@ DEPENDENCIES stringex (= 2.8.5) tzinfo (~> 2.0) tzinfo-data - wdm (~> 0.1.0) RUBY VERSION ruby 2.6.2p47 From 7ad7231ea6d0a06f0b29d511d6502c5a919782fd Mon Sep 17 00:00:00 2001 From: Tiago Rodrigues Date: Wed, 15 Feb 2023 12:00:59 +0000 Subject: [PATCH 5/6] Change documentation --- source/_integrations/renault.markdown | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/source/_integrations/renault.markdown b/source/_integrations/renault.markdown index c2a41532c5ea..ae92f6a594bd 100644 --- a/source/_integrations/renault.markdown +++ b/source/_integrations/renault.markdown @@ -30,6 +30,7 @@ This integration provides the following platforms: - Binary sensors - such as plug and charge status. - Device tracker - to track location of your car. +- Buttons - to start/stop charge. (Button action can be unavailable for your vehicle.) - Selectors - to change the charge mode. - Sensors - such as battery level, outside temperature, odometer, estimated range, and charging rate. @@ -37,24 +38,6 @@ This integration provides the following platforms: All vehicles linked to the account should then get added as devices, with sensors added as linked entity. -## Buttons - -### Button `button.renault_start_charge` - -Start charging the vehicle. - -Note: - -- This button can be unavailable for your vehicle. - -### Button `button.renault_stop_charge` - -Stop charging the vehicle. - -Note: - -- This button can be unavailable for your vehicle. - ## Services ### Service `renault.ac_start` From b789d2441336c8118269dcbd37a2573a886aff5c Mon Sep 17 00:00:00 2001 From: rodriguestiago0 Date: Wed, 15 Feb 2023 14:41:07 +0000 Subject: [PATCH 6/6] Improve description Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> --- source/_integrations/renault.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/renault.markdown b/source/_integrations/renault.markdown index ae92f6a594bd..015f8e45e205 100644 --- a/source/_integrations/renault.markdown +++ b/source/_integrations/renault.markdown @@ -30,7 +30,7 @@ This integration provides the following platforms: - Binary sensors - such as plug and charge status. - Device tracker - to track location of your car. -- Buttons - to start/stop charge. (Button action can be unavailable for your vehicle.) +- Buttons - to start air conditioning or start/stop the charge. Please note that although available these actions do not work on all vehicles. - Selectors - to change the charge mode. - Sensors - such as battery level, outside temperature, odometer, estimated range, and charging rate.