Skip to content

Instantly share code, notes, and snippets.

View jeffreykog's full-sized avatar

Jeffrey Kog jeffreykog

View GitHub Profile
@jeffreykog
jeffreykog / somrig-cover-remote.yaml
Last active August 19, 2024 20:42
HA Blueprint: IKEA Somrig cover remote
blueprint:
name: IKEA Somrig Cover Control (Z2M)
description: "## Control any cover with IKEA Somrig shortcut button
Should be used with Zigbee2MQTT
Available controls:
- Single dot: Open cover
- Double dot: Close cover
- While the cover is moving, press any button to stop the movement

Keybase proof

I hereby claim:

  • I am jk-5 on github.
  • I am jk5 (https://keybase.io/jk5) on keybase.
  • I have a public key whose fingerprint is FF43 C94B 6619 7BDE 5B26 B710 0D84 228F CA4D 99A6

To claim this, I am signing this object:

@jeffreykog
jeffreykog / badnames.md
Last active August 29, 2015 14:06
Bad mcp names in 1.8
Current (bad) SRG New New name (from 1.8)
getGameRuleBooleanValue func_82766_b getBoolean NO
getGameRuleBooleanValue func_82758_b getBoolean NO
getGameRuleStringValue func_82767_a getString NO
getGameRuleStringValue func_82756_a getString NO
readStringFromBuffer func_150789_c readString NO
readItemStackFromBuffer func_150791_c readItemStack NO
writeItemStackToBuffer func_150788_a writeItemStack NO
readNBTTagCompoundFromBuffer func_150793_b readNBT NO