its based on arrays embedded in arrays
[
"hello world"
]
this program is just a string that says hello world. it is now at location [0]
package main | |
import ( | |
"github.com/bwmarrin/discordgo" | |
"flag" | |
log "github.com/Sirupsen/logrus" | |
"fmt" | |
"time" | |
"errors" | |
) |
blueprint: | |
name: Match Outside Colour Temperature Kelvin | |
description: When a light turns on or the sun elevation changes, match the outside | |
colour temperature. It will apply to any bulb that supports color temperature. | |
It triggers; whenever a bulb turns on, on sun elevation changes and every 5 minutes. | |
domain: automation | |
input: | |
target_lights: | |
name: Lights | |
description: The primary lights to be controlled |
#!/usr/bin/env python3 | |
# Download your data dump and place this file in the "messages" folder of your data dump. | |
# Run it using python | |
from datetime import datetime, timedelta, timezone | |
import dateutil.parser | |
import matplotlib.pyplot as plt | |
import matplotlib.ticker as ticker | |
import matplotlib.dates as mdates | |
import csv |