Skip to content

Instantly share code, notes, and snippets.

@cpw
cpw / zha-ikea-four-button-remote-styrbar.yaml
Last active October 11, 2025 23:53 — forked from schiberis/zha-ikea-four-button-remote-styrbar.yaml
• UP/DOWN (short): ON / OFF • UP/DOWN (hold): fast and smooth brightness stepping that stops immediately on release (implemented with `mode: restart` for zero run-on) • LEFT/RIGHT (short): cycle through 6 preset RGB colors (wrap-around; uses an input_number helper to track index) • LEFT/RIGHT (long press): optional custom actions (empty by defa…
blueprint:
name: ZHA – IKEA STYRBAR all controls & 6-color palette (modern syntax)
description: >
Smooth, responsive control for the IKEA STYRBAR (square) remote on ZHA.
• UP/DOWN (short): ON / OFF
• UP/DOWN (hold): fast and smooth brightness stepping that stops immediately on release
(implemented with `mode: restart` for zero run-on)
• LEFT/RIGHT (short): cycle through 3 preset colour temperatures (wrap-around; uses an input_number helper to track index)
• LEFT/RIGHT (long press): optional custom actions (empty by default)
@cpw
cpw / fap-2019.md
Last active June 2, 2019 21:58 — forked from JTK222/answers.md
Forge annual Parley - 2019 questions

Forge annual Parley - Questions 2019

Most important Question

  • What's the story of the Squirrel?

General

  • Will the support for 1.12.2 end? And will we get another recommended build for 1.12?
  • Will 1.13.2 be left as it is, or be continued parallel to 1.14?
  • Will the example project ever do anything meaningful? (Like register a block, or implement an entity)
  • Is it possible to/how hard would it be to cache resource loading to improve launch times?
@cpw
cpw / bootstrap.gradle
Last active April 27, 2017 19:36 — forked from AbrarSyed/bootstrap.gradle
This makes gradle compile java6 stuff with the actual java 6 classpath. --- Usage: Drop this file in USER_HOME/.gradle/init.d --- You will probably want to change the path to your java6 instance.
allprojects {
afterEvaluate {
def versions = [
'1.6' : "/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/",
]
// convert map to classpaths
versions = versions.collectEntries { key, value ->
[key, fileTree(dir: value, include: "*.jar").getAsPath()]
}