Show a nice message in a Discord channel:
Clicking buttons on that message performs actions in Home Assistant.
CDHAW_TOKEN=your-discord-bot-token \
CDHAW_GUILD_ID=your-guild-id \
CDHAW_CHANNEL_ID=your-channel-id,your-other-channel-id \
CDHAW_GARAGE_URL=http://1.2.3.4/events \
CDHAW_WEBHOOK_CLOSE_URL=https://homeassistant.example/api/webhook/your-close-garage-webhook-id \
CDHAW_WEBHOOK_OPEN_URL=https://homeassistant.example/api/webhook/your-open-garage-webhook-id \
TZ=UTC \
go run main.goSee https://discord.com/developers/docs/topics/oauth2#bots for information on creating a Discord bot.
This is a toy project
