mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Upgrade to 0.73 for #395
This commit is contained in:
@@ -38,19 +38,19 @@ sensor:
|
||||
{% endif %}
|
||||
{{ holiday }}
|
||||
|
||||
- platform: rest
|
||||
resource: http://www.webcal.fi/cal.php?id=335&format=json&start_year=current_year&end_year=2020&tz=America%2FNew_York
|
||||
name: Flag
|
||||
scan_interval: 14400
|
||||
value_template: >-
|
||||
{% set is_flag_day = False %}
|
||||
{%- for day_val in value_json -%}
|
||||
{% set now_string = now().strftime('%Y-%m-%d') %}
|
||||
{%- if day_val.date==now_string and day_val.flag_day==1 -%}
|
||||
{% set is_flag_day = True %}
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
{{is_flag_day}}
|
||||
# - platform: rest
|
||||
# resource: http://www.webcal.fi/cal.php?id=335&format=json&start_year=current_year&end_year=2020&tz=America%2FNew_York
|
||||
# name: Flag
|
||||
# scan_interval: 14400
|
||||
# value_template: >-
|
||||
# {% set is_flag_day = False %}
|
||||
# {%- for day_val in value_json -%}
|
||||
# {% set now_string = now().strftime('%Y-%m-%d') %}
|
||||
# {%- if day_val.date==now_string and day_val.flag_day==1 -%}
|
||||
# {% set is_flag_day = True %}
|
||||
# {%- endif -%}
|
||||
# {% endfor %}
|
||||
# {{is_flag_day}}
|
||||
|
||||
###############################################################################
|
||||
# Automation that notifies of a Holiday "state" change
|
||||
|
16
config/packages/rachio.yaml
Executable file
16
config/packages/rachio.yaml
Executable file
@@ -0,0 +1,16 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
|
||||
#-------------------------------------------
|
||||
######################################################################
|
||||
## [Rachio Sprinkler system](http://amzn.to/2eoPKBW) - Smart Sprinkler controller
|
||||
######################################################################
|
||||
homeassistant:
|
||||
# customize_glob:
|
||||
# "*.carlojuice*":
|
||||
# homebridge_hidden: True
|
||||
# hidden: False
|
||||
#-------------------------------------------
|
||||
rachio:
|
||||
api_key: !secret rachio_api
|
Reference in New Issue
Block a user