This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_datetime: | |
air_freshener_changed_date: | |
name: Bathroom Air Freshener | |
has_date: true | |
has_time: false | |
icon: mdi:air-purifier | |
counter: | |
air_freshener_bathroom: | |
name: Bathroom Air Freshener |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2020-01-18T11:20:27.7660341</Date> | |
<Author>James Callaghan</Author> | |
<URI>\Home Assistant\Desk Lights on with Unlock</URI> | |
</RegistrationInfo> | |
<Triggers> | |
<SessionStateChangeTrigger> | |
<Enabled>true</Enabled> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: 'Office - James desk lights on/off with workstation state' | |
trigger: | |
- platform: state | |
entity_id: input_boolean.james_desk | |
action: | |
- service: scene.turn_on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_boolean: | |
james_desk: | |
name: James' Workstation Unlocked | |
initial: false | |
icon: mdi:desk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2020-01-18T11:19:09.6988975</Date> | |
<Author>James Callaghan</Author> | |
<URI>\Home Assistant\Desk Lights off with Lock</URI> | |
</RegistrationInfo> | |
<Triggers> | |
<SessionStateChangeTrigger> | |
<Enabled>true</Enabled> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This leverages Flemming's Home Assistant Module https://github.com/flemmingss/Home-Assistant-PowerShell-Module | |
Param( | |
[Parameter(Mandatory=$true)][string]$service, | |
[Parameter(Mandatory=$true)][string]$entity_id | |
) | |
$home_assistant_ip = "127.0.0.1" | |
$home_assistant_port = "8123" | |
$home_assistant_token = "token key here" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set objShell = CreateObject("Wscript.Shell") | |
Set args = Wscript.Arguments | |
For Each arg In args | |
Dim PSRun | |
PSRun = "powershell.exe -WindowStyle hidden -ExecutionPolicy bypass -NonInteractive -File " & arg | |
objShell.Run(PSRun),0 | |
Next | |
WScript.Quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config | |
ios: | |
push: | |
categories: | |
- name: Alarm | |
identifier: 'alarm' | |
actions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multiple lines uses a -L15-L19 at the end of the URL where as just a single line used - L13 | |
https://gist.github.com/jcallaghan/611ef3e2f400b5f089354c5d780d8c07#file-highlighted-code-html-L13 | |
https://gist.github.com/jcallaghan/611ef3e2f400b5f089354c5d780d8c07#file-highlighted-code-html-L15-L19 | |
<!--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent eu velit pulvinar, porttitor neque sit amet, | |
lobortis erat. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec mi | |
orci, porta et metus eu, blandit ullamcorper neque. Morbi auctor neque tellus, nec lobortis arcu malesuada nec. | |
Suspendisse eleifend ligula nec massa gravida, id ultrices quam commodo. Nunc malesuada ornare consequat. Morbi | |
elementum neque sit amet euismod rhoncus. Duis pulvinar libero ornare risus vestibulum rhoncus. Nunc fringilla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div itemtype="http://schema.org/Recipe"> | |
<!-- wp:heading --> | |
<h2 class="cooking-heading" itemprop="name" itemtype="http://schema.org/Recipe">???</h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<span class="cooking-description" itemprop="description">???</span> | |
<!-- /wp:paragraph --> |