Several updates...major - started migrating off smartthings to direct zwave.

This commit is contained in:
Jeffrey Stone
2019-03-08 21:52:37 -05:00
parent 4769a74a86
commit 9b47902ee4
24 changed files with 249 additions and 298 deletions

View File

@@ -56,17 +56,4 @@
friendly_name: "Eero Loft"
value_template: "{{ 'Online' if is_state('device_tracker.eero_loft', 'home') else 'Offline' }}"
smoke_kitchen:
friendly_name: "Kitchen Smoke"
value_template: "{{ 'Smoke Detected!' if is_state('device_tracker.eero_loft', 'smoke') else 'All Clear' }}"
security_status:
friendly_name: 'Security System'
value_template: '{{ "Armed" if is_state("input_boolean.secure_mode", "on") else "Disarmed" }}'
icon_template: '{%- if is_state("input_boolean.secure_mode", "on") %}mdi:lock{% else %}mdi:lock-open{%- endif %}'
garage_motion:
friendly_name: "Garage Motion"
value_template: "{{ 'open' if is_state('sensor.garage_dome_sensor', 'motion') else 'clear' }}"

View File

@@ -1,14 +1,28 @@
- platform: alpha_vantage
api_key: !secret alpha_vantage
symbols:
- symbol: SIRI
name: Sirius
- symbol: BAC
name: BoA
- symbol: INTC
name: Intel
#- symbol: SIRI
# name: Sirius
#- symbol: BAC
# name: BoA
#- symbol: INTC
# name: Intel
- symbol: DIS
name: Disney
- symbol: BKS
name: Barnes & Noble
#- symbol: BKS
# name: Barnes & Noble
- platform: mqtt
name: "Disney"
state_topic: "stock/DIS/price"
- platform: mqtt
name: "BoA"
state_topic: "stock/BAC/price"
- platform: mqtt
name: "Intel"
state_topic: "stock/INTC/price"
- platform: mqtt
name: "Sirius"
state_topic: "stock/SIRI/price"
- platform: mqtt
name: "Barnes and Nobel"
state_topic: "stock/BKS/price"

5
sensors/github.yaml Normal file
View File

@@ -0,0 +1,5 @@
- platform: github
access_token: !secret github_token
repositories:
- path: 'thejeffreystone/home-assistant-configuration'

4
sensors/house.yaml Normal file
View File

@@ -0,0 +1,4 @@
- platform: mqtt
name: "Washer Status"
state_topic: "house/washer/status"

View File

@@ -1,6 +0,0 @@
- platform: mqtt
name: "Kitchen Smoke"
state_topic: "smartthings/Kitchen Smoke/smoke"
payload_available: "smoke"
payload_not_available: "clear"

View File

@@ -33,7 +33,6 @@
minutes: 5
seconds: 0
milliseconds: 0
- platform: moon
- platform: pollen
zip_code: "30017"
monitored_conditions:
@@ -70,82 +69,6 @@
- platform: mqtt
name: "Accurite Garage lupdate"
state_topic: "house/accurite-10968/lastupdate"
- platform: nws_alerts
zone_id: 'GAZ034'
# - platform: rest
# resource: https://api.weather.gov/alerts/active/count
# name: NWS Alert Count Raw
# value_template: >
# {% if value_json is defined and value_json.zones.GAZ034 is defined %}
# {{ value_json.zones.GAZ034 }}
# {% else %}
# 0
# {% endif %}
# headers:
# User-Agent: Homeassistant
# Accept: application/ld+json
# scan_interval: 60
# - platform: template
# sensors:
# nws_alert_count_filtered:
# friendly_name: NWS Alert Count
# entity_id: sensor.nws_alert_count_raw
# value_template: >
# {% if is_state('sensor.nws_alert_count_raw', 'unavailable') or is_state('sensor.nws_alert_count_raw', 'unknown') %}
# {{ states.sensor.nws_alert_count_filtered.state }}
# {% else %}
# {{ states.sensor.nws_alert_count_raw.state }}
# {% endif %}
# - platform: rest
# resource: https://api.weather.gov/alerts/active?zone=GAZ034
# name: NWS Alert Event Raw
# value_template: >
# {% if value_json.features[0] is defined %}
# {{ value_json['features'][0]['properties'].event }}
# {% else %}
# None
# {% endif %}
# json_attributes:
# - features
# headers:
# User-Agent: Homeassistant
# Accept: application/geo+json
# scan_interval: 60
# - platform: template
# sensors:
# nws_alert_event_filtered:
# friendly_name: NWS Alert Event
# entity_id: sensor.nws_alert_event_raw
# value_template: >
# {% if is_state('sensor.nws_alert_event_raw', 'unavailable') or is_state('sensor.nws_alert_event_raw', 'unknown') %}
# {{ states.sensor.nws_alert_event_filtered.state }}
# {% else %}
# {{ states.sensor.nws_alert_event_raw.state }}
# {% endif %}
# - platform: template
# sensors:
# nws_alert_event_2:
# friendly_name: NWS Alert Event 2
# entity_id: sensor.nws_alert_event_raw
# value_template: >
# {% if state_attr('sensor.nws_alert_event_raw', 'features')[1] is defined %}
# {{ state_attr('sensor.nws_alert_event_raw', 'features')[1]['properties'].event }}
# {% else %}
# None
# {% endif %}
# nws_alert_event_3:
# friendly_name: NWS Alert Event 3
# entity_id: sensor.nws_alert_event_raw
# value_template: >
# {% if state_attr('sensor.nws_alert_event_raw', 'features')[2] is defined %}
# {{ state_attr('sensor.nws_alert_event_raw', 'features')[2]['properties'].event }}
# {% else %}
# None
# {% endif %}
- platform: template
sensors: