This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
timely_rename.py | |
Prepend ISO 8601 -like filenames | |
with event summaries from an ICS calendar | |
(c) 2021 introt | |
License: Apache 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 introt <introt@koti.fimnet.fi> | |
# based on windowtitleeditor.py and Zim Desktop Wiki code released under GPLv2 | |
import base64 | |
from pathlib import PurePath | |
from zim.formats.html import Dumper, html_encode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Extract the backup .tar file | |
2. Extract the homeassistant.tar within | |
3. mv data ~homeassistant/.homeassistant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modified from https://www.home-assistant.io/docs/locked_out/ | |
# with additional info from https://community.home-assistant.io/t/password-lost/66288/14 | |
# inside the venv: | |
# list users | |
hass --script auth --config ~/.homeassistant list | |
USER=the first line of output | |
read PASS # new password | |
# set the new password | |
hass --script auth --config ~/.homeassistant change_password "$USER" "$PASS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Sensor Light | |
description: > | |
# 💡 Sensor Light | |
**Version: 6.3** | |
Your lighting experience, your way - take control and customize it to perfection! 💡✨ |
OlderNewer