mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-19 11:54:29 +01:00
asdf (#794)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 2.2
|
||||
|
||||
- Set delay to zero when it is empty (to not break existing configurations) (bugfix)
|
||||
|
||||
## 2.1
|
||||
|
||||
- Set delay to zero when it is empty (to not break existing configurations)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "RPC Shutdown",
|
||||
"version": "2.1",
|
||||
"version": "2.2",
|
||||
"slug": "rpc_shutdown",
|
||||
"description": "Simple way for remote windows shutdowns",
|
||||
"url": "https://home-assistant.io/addons/rpc_shutdown/",
|
||||
|
||||
@@ -21,7 +21,7 @@ while read -r input; do
|
||||
fi
|
||||
|
||||
# Check if delay is not empty
|
||||
if bashio::var.is_empty "${DELAY}"; then
|
||||
if bashio::var.equals "$DELAY" "null"; then
|
||||
DELAY="0"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user