I hereby claim:
- I am just-insane on github.
- I am just_insane (https://keybase.io/just_insane) on keybase.
- I have a public key ASBbvHWy5uvPqmxIOz1R1yDXja3x89pxfmlWHRXxC--EGgo
To claim this, I am signing this object:
#Variables | |
Write-Host "What is the Username?" -ForegroundColor Yellow | |
$Username = Read-Host "Username: " | |
$getGroups = $false | |
function UnlockAccount { | |
if ($_.LockedOut -eq $true) { | |
Write-Host "Account is locked, unlock?" -ForegroundColor Red | |
$Readhost = Read-Host "( y / n ) " | |
Switch ($Readhost) { |
@commands.command() | |
async def on(self): | |
while self == self.bot.get_cog("Hass"): | |
url = "http://10.0.1.147:8123/api/services/light/turn_on" | |
headers = { | |
"x-ha-access": '[api_key]', | |
"Content-Type": "application/json" | |
} | |
data = { | |
"entity_id": "light.justin_bedroom", |
{ | |
"attributes": { | |
"azimuth": 240.59, | |
"elevation": 40.24, | |
"friendly_name": "Sun", | |
"next_dawn": "2017-08-27T10:09:45+00:00", | |
"next_dusk": "2017-08-27T00:37:43+00:00", | |
"next_midnight": "2017-08-27T05:22:39+00:00", | |
"next_noon": "2017-08-27T17:22:51+00:00", | |
"next_rising": "2017-08-27T10:39:32+00:00", |
I hereby claim:
To claim this, I am signing this object: