Skip to content

Commit

Permalink
Making changes to suppor tthe new Mobile APP integration for HA compa…
Browse files Browse the repository at this point in the history
…nion 2.0. #750
  • Loading branch information
ccostan committed Jun 4, 2020
1 parent 7cbdf1a commit e729339
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 38 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Expand Up @@ -9,6 +9,7 @@
.storage
.uuid
core.*
core
OZW_Log.txt
home-assistant.log
home-assistant_v2.db
Expand All @@ -33,8 +34,4 @@ nest.conf
ipchange.yaml
ip_bans.yaml
production_auth.json
<<<<<<< HEAD


=======
>>>>>>> cd3d35d41e65e707044ab7c865ab2f343a3e0a07
2 changes: 1 addition & 1 deletion config/configuration.yaml
Expand Up @@ -92,7 +92,7 @@ http:
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
ip_ban_enabled: True
login_attempts_threshold: 2
login_attempts_threshold: 5

frontend:
javascript_version: latest
Expand Down
18 changes: 0 additions & 18 deletions config/customize/sensors.yaml
Expand Up @@ -42,24 +42,6 @@ sensor.amazon_fire_stick:
icon: mdi:fire



sensor.carloxsmax_battery_level:
friendly_name: 'Carlo 6s+ Battery Level'

hidden: False
homebridge_hidden: True
icon: mdi:battery-40



sensor.carloxsmax_battery_state:
friendly_name: 'Carlo 6s+ Battery State'

hidden: False
homebridge_hidden: True
icon: mdi:power-plug-off


sensor.chromecast_audio_1:
friendly_name: 'Chromecast Audio 1'

Expand Down
17 changes: 6 additions & 11 deletions config/packages/ios.yaml
Expand Up @@ -14,21 +14,16 @@ notify:
- name: ios_family
platform: group
services:
- service: ios_staceys_iphone
- service: ios_carloxsmax
- service: mobile_app_stacey_6s
- service: mobile_app_carlo_xsmax
- service: mobile_app_paige_6s
- name: ios_parents
platform: group
services:
- service: ios_staceys_iphone
- service: ios_carloxsmax
- service: mobile_app_stacey_6s
- service: mobile_app_carlo_xsmax

group:
Phones:
entities:
- sensor.carloxsmax_battery_level
- sensor.carloxsmax_battery_state
- sensor.staceys_iphone_battery_level
- sensor.staceys_iphone_battery_state
mobile_app:

ios:
push:
Expand Down
8 changes: 4 additions & 4 deletions config/script/notify_engine.yaml
Expand Up @@ -30,9 +30,9 @@ notify_engine:

- service_template: >
{% if who == 'stacey' %}
notify.ios_staceys_iphone
notify.mobile_app_stacey_6s
{% elif who == 'carlo' %}
notify.ios_carloxsmax
notify.mobile_app_carlo_xsmax
{% elif who == 'parents' %}
notify.ios_parents
{% elif who == 'family' %}
Expand All @@ -51,7 +51,7 @@ notify_engine:
apns_headers:
'apns-collapse-id': "{{ apns_id }}"
push:
sound: "{{ ios_sound }}"
badge: "{{ ios_badge }}"
# sound: "{{ ios_sound }}"
# badge: "{{ ios_badge }}"
category: "{{ ios_category }}"
entity_id: "{{ camera_entity }}"

0 comments on commit e729339

Please sign in to comment.