I hereby claim:
- I am samwiseg00 on github.
- I am samwiseg0 (https://keybase.io/samwiseg0) on keybase.
- I have a public key whose fingerprint is 0129 AAA1 C4E2 B0CA 612E 5BB6 06B6 E924 8D4C 29E7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
''' | |
Please use https://github.com/blacktwin/JBOPS/tree/master/killstream | |
''' |
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
# -*- coding: utf-8 -*- | |
import argparse | |
import configparser | |
import json | |
import os | |
def sanitize_value(value): | |
# Remove leading and trailing whitespaces, including newline characters | |
value = value.strip() | |
# Remove any extra quotes or escape characters |
blueprint: | |
name: Low battery level detection & notification for all battery sensors | |
description: Regularly test all sensors with 'battery' device-class for crossing | |
a certain battery level threshold and if so execute an action. | |
domain: automation | |
input: | |
threshold: | |
name: Battery warning level threshold | |
description: Battery sensors below threshold are assumed to be low-battery (as | |
well as binary battery sensors with value 'on'). |