Skip to content

Instantly share code, notes, and snippets.

View hyperbolic2346's full-sized avatar

Mike Wilson hyperbolic2346

View GitHub Profile
blueprint:
name: Override PIR-activated Light
description: Override PIR automated switching of light when light is manually turned on
domain: automation
source_url: https://gist.github.com/hyperbolic2346/ea736e7a95d266957e5edfc720ce81b0
input:
light_target:
name: Light
selector:
entity:
blueprint:
name: Door Sensor Light
description: Turn a light when a door is opened
domain: automation
input:
doorsensor_entity:
name: Door Sensor
selector:
entity: {}
light_target:
@hyperbolic2346
hyperbolic2346 / gist:6509b65de17e8e9713d409ce93dadc64
Created June 18, 2021 05:15
home assistant helm upgrade failure
Helm upgrade failed: template: home-assistant/templates/common.yaml:1:3: executing \"home-assistant/templates/common.yaml\" at <include \"common.all\" .>: error calling include: template: home-assistant/charts/common/templates/_all.tpl:10:8: executing \"common.all\" at <include \"common.addon.codeserver\" .>: error calling include: template: home-assistant/charts/common/templates/addons/code-server/_codeserver.tpl:47:8: executing \"common.addon.codeserver\" at <include \"common.classes.ingress\" $>: error calling include: template: home-assistant/charts/common/templates/classes/_ingress.tpl:20:46: executing \"common.classes.ingress\" at <include \"common.service.primary\" .>: error calling include: template: home-assistant/charts/common/templates/_service.tpl:27:19: executing \"common.service.primary\" at <$service.enabled>: can't evaluate field enabled in type interface {}"}
yaml
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: home-assistant
namespace: home
spec:

Keybase proof

I hereby claim:

  • I am hyperbolic2346 on github.
  • I am knobby (https://keybase.io/knobby) on keybase.
  • I have a public key ASC-oKKxFvQJhhjJEo1AJyivCIKIs9v_ZAcEgtm8L13QqQo

To claim this, I am signing this object:

@hyperbolic2346
hyperbolic2346 / Examine relations
Last active April 5, 2024 18:33
Juju Charm development scripts
juju run --unit kubernetes-master/0 'charms.reactive get_flags'
juju run --unit kubernetes-master/0 'relation-ids cni'
juju run --unit kubernetes-master/0 'relation-get -r cni:11 - flannel/0'
juju run --unit kubernetes-master/0 'relation-get --help'