Skip to content

Instantly share code, notes, and snippets.

View lwsrbrts's full-sized avatar

Lewis Roberts lwsrbrts

View GitHub Profile
@lwsrbrts
lwsrbrts / kuduSiteUpload.ps1
Last active May 14, 2017 21:39 — forked from davideicardi/kuduSiteUpload.ps1
Upload a local directory to an Azure Website using kudu and powershell
Param(
[Parameter(Mandatory = $true)]
[string]$websiteName,
[Parameter(Mandatory = $true)]
[string]$resourceGroupName,
[Parameter(Mandatory = $true)]
[string]$sourceDir,
[string]$destinationPath = "/site/wwwroot"
)
@lwsrbrts
lwsrbrts / shelly_gen2_mqtt.yaml
Created January 28, 2022 11:22
shelly gen 2 mqtt
## configuration.yaml
automation: !include automation.yaml
switch: !include switches.yaml
binary_sensor: !include binary_sensors.yaml
sensor: !include sensors.yaml
## automation.yaml
- id: shellies_get_status
alias: Shellies Get Status
description: ''