Skip to content

Contains a general purpose script for writing log files with a customised format, and tips on setting up logging for my blueprints or other purposes

Notifications You must be signed in to change notification settings

AndySymons/Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Logfile Entry script

A general purpose Home Assistant YAML script for writing entries into a log file with a customised format.

It is used in several of my blueprints and includes the possibility not to write a log at all by providing a blank notification service name. This does however mean that the script must be there even if no logfile is required.

Installation

I recommend you install this script as a package

  1. If you do not already have packages, follow these instructions
  2. In your package folder create a file called (something like) logfile_entry.yaml
  3. Copy the contents of the script into that file
  4. Restart the system or reload all YAML

Setting up file notification services

-- more tips to follow --


If you find any of the ideas in this repository useful, please Buy Me a Coffee

About

Contains a general purpose script for writing log files with a customised format, and tips on setting up logging for my blueprints or other purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published