Skip to content

Instantly share code, notes, and snippets.

# source: https://community.home-assistant.io/t/vacation-lighting-replay-historical-lighting/282435
blueprint:
name: Blueprint - Vacation Lighting
description: Vacation Lighting - Replay Sensors to Light Behavior
domain: automation
input:
vacation_mode_toggle:
name: Vacation Mode - Input Boolean
selector:
entity:
@matusk
matusk / mysql-load-data-infile.php
Created September 16, 2016 14:32
LOAD DATA INFILE (MySQL)
<?php
$dbHost = '';
$dbName = '';
$dbTable = '';
$dbUser = '';
$dbPassword = '';
$fieldSeparator = ',';
$lineSeparator = "\n";
$csvFile = 'filename.csv';