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))) { |
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 |