From 3bf72da6050529a27dbf84822d54e59f74abd45d Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 11 Apr 2017 14:51:30 +0000 Subject: [PATCH] #84 - Removing Packages capability. Created a LOT of timer issues. --- automation/Speech/deliveries.yaml | 13 --------- home-assistant_v2.db-shm | Bin 32768 -> 0 bytes home-assistant_v2.db-wal | Bin 32 -> 0 bytes sensor/deliveries.yaml | 42 ------------------------------ 4 files changed, 55 deletions(-) delete mode 100755 automation/Speech/deliveries.yaml delete mode 100644 home-assistant_v2.db-shm delete mode 100644 home-assistant_v2.db-wal delete mode 100755 sensor/deliveries.yaml diff --git a/automation/Speech/deliveries.yaml b/automation/Speech/deliveries.yaml deleted file mode 100755 index f788b8d1..00000000 --- a/automation/Speech/deliveries.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- alias: Announce package delivery - trigger: - platform: state - entity_id: sensor.deliveries_today - - condition: - - condition: template - value_template: '{{trigger.to_state.state|int > trigger.from_state.state|int}}' - - action: - - service: script.Voice_notify - data_template: - value1: "A package was just delivered." diff --git a/home-assistant_v2.db-shm b/home-assistant_v2.db-shm deleted file mode 100644 index a0bb87f1570bc0268bbb2e02d863a0d1796997a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32768 zcmeIuAr62r3Io=!>VQNVQW(xDZ=}*&Cym*c>v(54`uRZE{_ZExy z`PG|}_c{Rr1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+ x009C72oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oUΝt|~5?25K diff --git a/home-assistant_v2.db-wal b/home-assistant_v2.db-wal deleted file mode 100644 index d44afd9ae3a0af44e02741b37be2f93ab76e45d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32 lcmXr7XKP~6eI&uaz`_6mYFtsqw>2e - {% macro in_transit(sensor) %} - {{sensor.state|int - delivered(sensor)|int}} - {% endmacro %} - {% macro delivered(sensor) %} - {% if 'delivered' in sensor.attributes %} - {{sensor.attributes.delivered}} - {% else %} - 0 - {% endif %} - {% endmacro %} - {{in_transit(states.sensor.usps)|int + in_transit(states.sensor.ups)|int + in_transit(states.sensor.fedex)|int}} - deliveries_today: - friendly_name: "Today's Deliveries" - value_template: > - {% macro delivered(sensor) %} - {% if 'delivered' in sensor.attributes %} - {{sensor.attributes.delivered}} - {% else %} - 0 - {% endif %} - {% endmacro %} - {{delivered(states.sensor.usps)|int + delivered(states.sensor.ups)|int + delivered(states.sensor.fedex)|int}}