Skip to content

Instantly share code, notes, and snippets.

View DonKracho's full-sized avatar

Wolfgang Kracht DonKracho

View GitHub Profile
@DonKracho
DonKracho / NEC_IR-Codes_to_MOES-UFO-R11.py
Created February 16, 2026 16:40
Python Script for creating HomeAssistant custom button cards for MOES UFO-R11 from NEC IR remote codes
#!/usr/bin/env python3
import io
import base64
from bisect import bisect
from struct import pack, unpack
import os
def create_yaml_header(name):
return "type: vertical-stack\n\