Skip to content

Instantly share code, notes, and snippets.

View pacorain's full-sized avatar

Austin "Paco" Rainwater pacorain

View GitHub Profile
@pacorain
pacorain / state.py
Created March 13, 2022 00:03
Home Assistant states in Alfred
"""Script for getting the state of entities"""
import aiohttp
import asyncio
import os
import sys
import json
async def main():
try: