Making changes to suppor tthe new Mobile APP integration for HA companion 2.0. #750

This commit is contained in:
ccostan 2020-06-04 13:15:01 -04:00
parent 7cbdf1aa0f
commit e7293393e9
5 changed files with 12 additions and 38 deletions

5
.gitignore vendored
View File

@ -9,6 +9,7 @@
.storage .storage
.uuid .uuid
core.* core.*
core
OZW_Log.txt OZW_Log.txt
home-assistant.log home-assistant.log
home-assistant_v2.db home-assistant_v2.db
@ -33,8 +34,4 @@ nest.conf
ipchange.yaml ipchange.yaml
ip_bans.yaml ip_bans.yaml
production_auth.json production_auth.json
<<<<<<< HEAD
=======
>>>>>>> cd3d35d41e65e707044ab7c865ab2f343a3e0a07

View File

@ -92,7 +92,7 @@ http:
ssl_certificate: !secret ssl_certificate ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key ssl_key: !secret ssl_key
ip_ban_enabled: True ip_ban_enabled: True
login_attempts_threshold: 2 login_attempts_threshold: 5
frontend: frontend:
javascript_version: latest javascript_version: latest

View File

@ -42,24 +42,6 @@ sensor.amazon_fire_stick:
icon: mdi:fire 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: sensor.chromecast_audio_1:
friendly_name: 'Chromecast Audio 1' friendly_name: 'Chromecast Audio 1'

View File

@ -14,21 +14,16 @@ notify:
- name: ios_family - name: ios_family
platform: group platform: group
services: services:
- service: ios_staceys_iphone - service: mobile_app_stacey_6s
- service: ios_carloxsmax - service: mobile_app_carlo_xsmax
- service: mobile_app_paige_6s
- name: ios_parents - name: ios_parents
platform: group platform: group
services: services:
- service: ios_staceys_iphone - service: mobile_app_stacey_6s
- service: ios_carloxsmax - service: mobile_app_carlo_xsmax
group: mobile_app:
Phones:
entities:
- sensor.carloxsmax_battery_level
- sensor.carloxsmax_battery_state
- sensor.staceys_iphone_battery_level
- sensor.staceys_iphone_battery_state
ios: ios:
push: push:

View File

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