From 101f617b9f550b212ed63db7e9b4479fec1c609c Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 27 Mar 2021 15:44:46 +0100 Subject: [PATCH] add new pre-commit --- controls_TeslaPowerwall2AC.txt | 1 + hooks/pre-commit | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/controls_TeslaPowerwall2AC.txt b/controls_TeslaPowerwall2AC.txt index e42e6fe..11e677c 100644 --- a/controls_TeslaPowerwall2AC.txt +++ b/controls_TeslaPowerwall2AC.txt @@ -1 +1,2 @@ UPD 2021-03-27_15:35:58 6981 FHEM/46_TeslaPowerwall2AC.pm +UPD 2021-03-27_15:36:03 28803 lib/FHEM/Tesla/Powerwall.pm diff --git a/hooks/pre-commit b/hooks/pre-commit index 5ae86ea..a7bf70a 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -4,7 +4,9 @@ use File::Basename; use POSIX qw(strftime); use strict; -my @filenames = ('FHEM/46_TeslaPowerwall2AC.pm'); +my @filenames = ( 'FHEM/46_TeslaPowerwall2AC.pm', + 'lib/FHEM/Tesla/Powerwall.pm' + ); my $controlsfile = 'controls_TeslaPowerwall2AC.txt';