This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Smart Thermostat off/heat (LUMI/Aqara) | |
description: 'Forked from: https://community.home-assistant.io/t/smart-thermostat-2-0-blueprint/478348 | |
and made compatible with thermostats supporting the states "off" and "heat" instead of "off" and "auto" in the | |
original blueprint.' | |
domain: automation | |
source_url: https://gist.github.com/rhl2401/f15d67263a949bbd5d6e374a3815a60d | |
input: | |
window_sensor: | |
name: Window / Door Sensor Group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Aqara Wireless Switch (single, double, hold, release) | |
description: 'Control anything using Aqara Wireless Switch. | |
Customizable actions for each press. | |
This version of the blueprint is for buttons supporting single, double, hold and | |
release actions. ' | |
domain: automation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Plex light control | |
description: 'Dim your lights when playing something from Plex. | |
This blueprint works very well with Tautulli for Plex and is developed based on this add-on. | |
Your body must be | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ftp_sync - copy directory and file structure | |
// main function witch is called recursivly | |
function ftp_sync($dir, $conn_id) { | |
if ($dir !== '.') { | |
if (ftp_chdir($conn_id, $dir) === FALSE) { | |
echo 'Change dir failed: ' . $dir . PHP_EOL; | |
return; | |
} | |
if (!(is_dir($dir))) { |