Skip to content

Instantly share code, notes, and snippets.

@NdR91
NdR91 / frigate_telegram_notification.yaml
Last active July 21, 2024 16:48
Frigate - Telegram Notification
blueprint:
name: Frigate - Telegram Notification
description: Create automations to receive Snapshots and Clips from Frigate
domain: automation
input:
camera:
name: Frigate Camera
description: The name of the camera as defined in your frigate configuration (/conf.yml).
target_chat:
name: Target
@rijvirajib
rijvirajib / GraphQLMoment.js
Last active January 22, 2022 09:16
A GraphQL Date type using Moment as the parser allowing for any date input, formatted using moment.format()
import moment from 'moment';
import {GraphQLScalarType, GraphQLError, Kind} from 'graphql';
module.exports = new GraphQLScalarType({
name: 'Date',
/**
* Serialize date value into string
* @param {moment} value date value
* @return {String} date as string
*/