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
class CustomFanCard extends Polymer.Element { | |
static get template() { | |
return Polymer.html` | |
<style is="custom-style" include="iron-flex iron-flex-alignment"></style> | |
<style> | |
:host { | |
line-height: 1.5; | |
} | |
.speed { |
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
import requests | |
from urllib.parse import urljoin, urlencode, urlparse, parse_qs | |
import uuid | |
import base64 | |
import json | |
import hashlib | |
import hmac | |
import datetime | |
from collections import namedtuple | |
import enum |
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
import requests | |
from urllib.parse import urljoin, urlencode, urlparse, parse_qs | |
import uuid | |
import base64 | |
import json | |
import hashlib | |
import hmac | |
import datetime | |
from collections import namedtuple | |
import enum |
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
import logging | |
import threading | |
import voluptuous as vol | |
import json | |
from homeassistant.components import climate | |
from homeassistant.components.climate import ( | |
ClimateDevice) | |
from custom_components.smartthinq import ( | |
DOMAIN, LGE_DEVICES, LGEDevice) | |
from homeassistant.helpers.temperature import display_temp as show_temp |
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
[ | |
{ | |
"id": "f227ead0.51eac8", | |
"type": "tab", | |
"label": "Flow 1", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "d6e49633.dcb3a8", |
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
#!/usr/bin/php | |
<?php | |
/** | |
* Copyright (C) 2016-2017 OpenMediaVault Plugin Developers. | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
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
#!/usr/bin/python | |
import os | |
import sys | |
import signal | |
import logging | |
import logging.handlers | |
import dbus | |
import dbus.service | |
import dbus.mainloop.glib |
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
#!/bin/sh | |
status=${1} | |
echo $status | |
KODI_URL="http://[email protected]:8080/jsonrpc" | |
#set -x | |
_get_audio_device () { | |
curl -s -H "Content-type: application/json" \ | |
--data-binary '{ "jsonrpc" : "2.0", | |
"params" : { "setting": "audiooutput.audiodevice" }, |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<style type="text/css"> | |
body { | |
background: #000; | |
font-family: Tahoma; | |
} | |
div#main { |
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
2017-01-02 12:57 TRACE task Test_Notification rendering: Movie Downloaded: {{ movie_name }} | |
2017-01-02 12:57 DEBUG utils.template Test_Notification Error during rendering: (UndefinedError) 'movie_name' is undefined | |
2017-01-02 12:57 DEBUG notify Test_Notification cannot render: `title: Movie Downloaded: {{ movie_name }}`, error: (UndefinedError) 'movie_name' is undefined | |
2017-01-02 12:57 DEBUG notify Test_Notification trying to render default value for `title` | |
2017-01-02 12:57 TRACE task Test_Notification rendering: {{ task_name }} | |
2017-01-02 12:57 TRACE task Test_Notification rendering: |
NewerOlder