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
| blueprint: | |
| name: Schneider Electric FLS/AIRLINK/4 4-Button Switch | |
| description: | | |
| Control entities with a Schneider Electric FLS/AIRLINK/4 4-button switch. | |
| AKA: LK FUGA Wiser batteritryk 4 slutte. | |
| Each button supports: | |
| - Single press | |
| - Long press (hold and release) |
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
| """Quirk for Schneider Electric FLS/AIRLINK/4 4-button switch.""" | |
| """LK FUGA Wiser batteritryk 4 slutte""" | |
| from zigpy.profiles import zha | |
| from zigpy.quirks import CustomDevice | |
| from zigpy.zcl.clusters.general import ( | |
| Basic, | |
| Groups, | |
| Identify, | |
| OnOff, | |
| LevelControl, |
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
| <!doctype html> | |
| <html lang = ""> | |
| <head> | |
| <meta charset = "utf-8"> | |
| <title> | |
| Norton Helper v7 | |
| </title> | |
| <style> |
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
| function onInitialLoad(sourceFile) { | |
| const parser = new DOMParser(); | |
| const initHTML = '<div id="your-files" style="background-color:#ff0000;width:500px;height:500px;"></div>'; | |
| const newDoc = parser.parseFromString(initHTML, "text/html"); | |
| document.replaceChild(newDoc.documentElement, document.documentElement); | |
| const target = document.getElementById("your-files"); | |
| target.addEventListener("dragover", function(event) { | |
| event.preventDefault(); |