I hereby claim:
- I am bvli on github.
- I am bvli (https://keybase.io/bvli) on keybase.
- I have a public key ASBrzPQqdg1lyEK4d92TobzEheteBZFpTg1c_EOAGCdJdAo
To claim this, I am signing this object:
blueprint: | |
name: Control blinds from Friends of Hue switch | |
description: >- | |
The normal cover control in home assistant is using three different switches. `Up`, `Down` and `Stop`. | |
This blueprint allows you to control a blind with only two switches from a deconz paired friends of hue switch. | |
- Close: press close | |
- Open: press open |
interface ICommand | |
{ | |
} | |
interface ICommandBus | |
{ | |
Task Send<TCommand>(TCommand command) where TCommand : ICommand; | |
} | |
interface ICommandHandler<TCommand> where TCommand : ICommand |
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>A Fact</Title> | |
<Shortcut>afact</Shortcut> | |
<Description>Code snippet for an async xUnit fact</Description> |
# Implement cd - | |
# Nice inspiration from http://stackoverflow.com/questions/31888580/a-better-way-to-check-if-a-path-exists-or-not-in-powershell | |
if (Test-Path alias:cd) | |
{ | |
Remove-Item alias:cd | Out-Null | |
} | |
$_locationStack = New-Object System.Collections.Stack | |
$SetLocationCmd = Get-Command Set-Location |
/* | |
The MIT License (MIT) | |
Copyright (c) 2014 Bjarke Lindberg, Beverli.NET | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
I hereby claim:
To claim this, I am signing this object: