mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Update to Command Line Sensors - Breaking Changes Fix.
This commit is contained in:
@@ -62,16 +62,6 @@ sensor:
|
||||
################################################################################
|
||||
# Countdown Sesor using WolfRam Alpha Natural language queries
|
||||
################################################################################
|
||||
#
|
||||
# - platform: command_line
|
||||
# name: Halloween Countdown
|
||||
# command: "HALLOWEEN=`date -d 'Oct 31' +%j | awk '{print $1 + 0}'`; TODAY=`date +%j | awk '{print $1 + 0}'`; DAYS=$(($HALLOWEEN - $TODAY)); echo $DAYS"
|
||||
# scan_interval: 43200
|
||||
#
|
||||
# - platform: command_line
|
||||
# command: "XMAS=`date -d 'Dec 25' +%j | awk '{print $1 + 0}'`; TODAY=`date +%j | awk '{print $1 + 0}'`; DAYS=$(($XMAS - $TODAY)); echo $DAYS"
|
||||
# name: Christmas Countdown
|
||||
# scan_interval: 43200
|
||||
|
||||
- platform: rest
|
||||
name: Halloween Countdown
|
||||
|
Reference in New Issue
Block a user