diff --git a/.gitignore b/.gitignore index 8839b2a..f0cb7cb 100644 --- a/.gitignore +++ b/.gitignore @@ -159,4 +159,5 @@ cython_debug/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ -log/ \ No newline at end of file +log/ +state.json \ No newline at end of file diff --git a/clear_logs.sh b/clear_logs.sh new file mode 100755 index 0000000..94d6479 --- /dev/null +++ b/clear_logs.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}")) +rm -rf $SCRIPT_DIR/zigbee2mqtt/log/* \ No newline at end of file