I hereby claim:
- I am smolz on github.
- I am smolz (https://keybase.io/smolz) on keybase.
- I have a public key ASCr3vGFA2dU1l5BlmsJQmpqNng4UBS-SSEzho0s9iIebQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
#!/usr/bin/env python | |
import re | |
from datetime import date, timedelta | |
def cisco_mfg_date(serial): | |
"""Parses a Cisco serial number into an approximate manufacture date. | |
Modern Cisco serial numbers encode the device's year and week-of-year |
- alias: "Magic Cube" | |
hide_entity: false | |
trigger: | |
- platform: state | |
# this is a smartthings multisensor, connected via MQTT from a SmartThings hub to Home Assistant | |
entity_id: sensor.magic_cube | |
action: | |
- service: light.turn_on | |
entity_id: | |
# any lights you want to change would go here |