I hereby claim:
- I am lucasr93 on github.
- I am reiners (https://keybase.io/reiners) on keybase.
- I have a public key ASDsmz0HlhQGq1jNK-0dehK3xq5Yq_WHN9Odah9cjJVNjQo
To claim this, I am signing this object:
| blueprint: | |
| name: ZHA - Philips Hue Dimmer Switch Config - v2024.12.09 | |
| description: | | |
| Control lights with a Philips Hue Dimmer Switch | |
| domain: automation | |
| source_url: https://gist.github.com/lucasreiners/59c456f0e05366ec7ce9b3f691ac3b2f | |
| # Define the inputs for the blueprint |
| blueprint: | |
| name: Hue Dimmer Remote With Hold and Initial Press | |
| description: | | |
| (Jul 2022 Update) Using a Hue bridge with which a dimmer remote is paired, allows you to configure actions based on said Hue Dimmer Remote | |
| NOTE: tested with RWL020 but may also work with RWL021 | |
| domain: automation | |
| source_url: https://gist.github.com/lksnyder0/6ad7bd5db9201f1c26019beb8bbb0ee7 | |
| input: | |
| dimmer_device: | |
| name: Dimmer Remote Device |
| "use strict"; | |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| address, output, size, pageWidth, pageHeight; | |
| function takeScreenshot(){ | |
| if (system.args.length < 3 || system.args.length > 5) { | |
| console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]'); | |
| console.log(' paper (pdf output) examples: "5in*7.5in", "10cm*20cm", "A4", "Letter"'); | |
| console.log(' image (png/jpg output) examples: "1920px" entire page, window width 1920px'); |
I hereby claim:
To claim this, I am signing this object:
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Rect; | |
| import android.graphics.drawable.Drawable; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.util.AttributeSet; | |
| import android.view.View; |