Skip to content

Instantly share code, notes, and snippets.

@wallacemreis
wallacemreis / .hyper.js
Last active July 22, 2019 23:32
hyperSettings
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: "stable",
@wallacemreis
wallacemreis / __init__.py
Created March 25, 2020 13:08
Zoneminder HA PTZ
"""Support for ZoneMinder."""
import logging
import requests
import voluptuous as vol
from zoneminder.zm import ZoneMinder
from homeassistant.const import (
ATTR_ID,
energy_consp:
card:
type: vertical-stack
cards:
- type: custom:vertical-stack-in-card
title: '[[appliance_name]]'
cards:
- type: entities
entities:
- entity: '[[power_button]]'