This file contains hidden or 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
| # Combine the functionality of Find-ChattyZwaveDevices and Get-ZwaveNodeSecureOrPlus | |
| # Executing this script can take a few minutes debending on the speed of the network and the size of your OZW log. | |
| # Path to your Home Assistant shared folder - mapped drive on your windows machine | |
| $haPath = "I:" | |
| # Get the content of the Open Z-Wave cache file | |
| Write-Progress -Activity "Reading Configuration" | |
| [xml]$ozwCfg = Get-Content "$haPath\zwcfg_*.xml" | |
| # Get valid zwave IDs |
This file contains hidden or 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
| import React from 'react'; | |
| import $script from 'scriptjs'; | |
| require('postscribe/htmlParser/htmlParser.js'); // This is required for postScribe, postScribe is a bit annoying. | |
| const postscribe = require('exports?postscribe!postscribe'); // Needs webpack exports-loader! Otherwise, just require it and use window.postscribe. | |
| // This GlobalAdCodePromise is a simple promise that uses script.js to load a javascript file and then resolve. | |
| const GlobalAdCodePromise = new Promise((resolve) => { | |
| setTimeout(() => { | |
| $script('http://annoying.adprovider.com/ad.js', () => { |
This file contains hidden or 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
| // knockout-jquery-ui-widget.js | |
| // Copyright (c) 2011, Planapple, Inc. | |
| // License: MIT (http://www.opensource.org/licenses/mit-license.php) | |
| // | |
| // Knockout binding for jQuery UI widgets | |
| // | |
| // Examples: | |
| // <input type="submit" value="OK" data-bind='jqueryui: "button"' /> | |
| // | |
| // Attaches a jQuery UI button widget to this button, with default options. |