🔨 reduce updates

This commit is contained in:
Timmo 2018-10-06 17:24:38 +01:00
parent cf81fc06d9
commit b5cf42fbea

View file

@ -10,7 +10,7 @@ config_file="/config/$(hass.config.get 'config_file')"
# shellcheck disable=SC2162
# shellcheck disable=SC2034
inotifywait -m "$config_file" | while read file; do \
inotifywait -e modify -m "$config_file" | while read file; do \
hass.log.debug "Update Config.." \
&& cp "$config_file" /usr/src/api/files/config.json; \
done