Skip to content

Instantly share code, notes, and snippets.

View mdrobny's full-sized avatar

Michał Drobniak mdrobny

View GitHub Profile
@mdrobny
mdrobny / blueprint.yaml
Created December 18, 2021 16:06
Zigbee2Mqtt Philips Hue Dimmer Switch (V2)
blueprint:
name: Zigbee2Mqtt Philips Hue Dimmer Switch (V2)
description: 'For https://www.zigbee2mqtt.io/devices/929002398602.html'
domain: automation
input:
dimmer_action:
name: Dimmer MQTT topic
description: 'type in your Dimmer MQTT topic (i.e. zigbee2mqtt/Dimmer/action)'
selector:
text:
@mdrobny
mdrobny / Dockerfile
Created September 15, 2021 17:23
Dockerfile with TS
FROM node:14-alpine as builder
WORKDIR /app
COPY package*.json .npmrc ./
# installing deps is separate from copying source to reuse image with deps if none changed
RUN npm ci
COPY tsconfig*.json ./