Skip to content

Instantly share code, notes, and snippets.

- id: '1550473957550'
alias: Ads skipper
trigger:
- entity_id: media_player.apple_tv
for: '5'
platform: state
to: playing
condition:
- condition: template
value_template: '{{ state_attr(''media_player.apple_tv'', ''media_duration'') < 60
@mu3
mu3 / designer.html
Created June 30, 2014 19:16
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@mu3
mu3 / designer.html
Created June 30, 2014 18:58
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@mu3
mu3 / designer.html
Created June 30, 2014 15:58
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
@mu3
mu3 / gist:1749597
Created February 6, 2012 04:13 — forked from kbuzyk/gist:1678621
/**
*
*/
def([
], function () {
return Backbone.Model.extend({
/**
********* OBJECT PARAMETER'S VARIABLES *********
*/