HASSIO + Kennected IO + Lovelace

Hey guys. I’m on my 10+ day and trying to learn this stuff. I really need help please as “for no reason”, at least that I am aware of, our home security siren went off around midnight for no apparent reason. I updated Home Assistant last night as well.

Can I ask for a review of why this happened as I am wits end? The unit sees all of my alarm inputs, but I also can’t get it to trigger notifications. I tried multiple doors, multiple change of state descriptions. I verified I can push a notification through the interface but the automation script doesn’t trigger anything. Really appreciate any support has I’m honestly trying to do this through research, but the siren really sort of expedited the urgency.

I also now just noticed that we had a power lose and I can no longer communicate with the unit. I rebooted 3 times. I can ping the address but it times out.

Configuration.yaml
homeassistant:
  name: Home
  latitude: 40.5034284
  longitude: -76
  elevation: 130
  unit_system: imperial
  time_zone: America/New_York
  # Customization file
  customize: !include customize.yaml
  
weather:
  - platform: darksky
    api_key: 97ff1a9b86b4ac4bb7305xxxxxxxxxxx
    mode: daily

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
#conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
#sun:

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

konnected:
  access_token: dkf93jdxxxxx
  devices:
    - id: 807d3axxxxx
      binary_sensors:
        - zone: 1
          type: motion
          name: 'Dining Room'
        - zone: 2
          type: motion
          name: 'Living Room'
        - zone: 3
          type: door
          name: 'Front Door'
        - zone: 4
          type: door
          name: 'Front Windows'
        - zone: 5
          type: door
          name: 'Living Room Windows'
        - zone: 6
          type: door
          name: 'Living Room Door'
    - id: 807d3axxxxx
      binary_sensors:
        - zone: 1
          type: door
          name: 'Kitchen Windows'
        - zone: 2
          type: door
          name: 'Kitchen Door'
        - zone: 3
          type: door
          name: 'Garage Door'
        - zone: 4
          type: door
          name: 'Basement Windows'
          
alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: xxxx
    pending_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0
          
automation:
    - alias: 'Trigger alarm while armed away'
      trigger:
        - platform: state
          entity_id: binary_sensor.basement_windows
          to: 'open'
        - platform: state
          entity_id: binary_sensor.dining_room
          to: 'active'
        - platform: state
          entity_id: binary_sensor.front_door
          to: 'open'
        - platform: state
          entity_id: binary_sensor.front_windows
          to: 'open'
        - platform: state
          entity_id: binary_sensor.garage_door
          from: 'off'
          to: 'on'
        - platform: state
          entity_id: binary_sensor.kitchen_door
          from: 'closed'
          to: 'open'
        - platform: state
          entity_id: binary_sensor.kitchen_windows
          to: 'open'
        - platform: state
          entity_id: binary_sensor.living_room
          to: 'active'
        - platform: state
          entity_id: binary_sensor.living_room_door
          to: 'open'
        - platform: state
          entity_id: x
          to: 'open'
      condition:
        - condition: state
          entity_id: alarm_control_panel.ha_alarm
          state: armed_away
      action:
        service: alarm_control_panel.alarm_trigger
        entity_id: alarm_control_panel.ha_alarm

# Alarm Notifications
automation:
  - alias: 'Send notification when alarm triggered'
    trigger:
      - platform: state
        entity_id: alarm_control_panel.ha_alarm
        to: 'triggered'
    action:
      - service: notify.clicksend
        data:
          message: "ALARM! The alarm has been triggered"

# Disarming Alarm          
#automation:
#  - alias: 'Disarm alarm when door unlocked by keypad'
#    trigger:
#      - platform: state
#        entity_id: sensor.front_door_lock_alarm_type
#        to: '19'
#        # many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad'
#    action:
#      - service: alarm_control_panel.alarm_disarm
#        entity_id: alarm_control_panel.house_alarm   

notify:
  - platform: clicksend
    name: ClickSend
    username: ccurrtxx
    api_key: 3077EE7A-F775-895E-DFE2-A880xxxxxxxx
    recipient: 1xxxxxxxxx
-----------------------------------------------------------------------------------------------------

**Lovelace.yaml** (I guess looking at this, the lovelace tranalation isn't working)

# This file was automatically generated by lovelace_migrate.py
# https://github.com/dale3h/python-lovelace

title: Home
views:
  - title: Home
    cards:
      - type: entities
        title: all automations
        show_header_toggle: true
        entities:
          - automation.send_notification_when_alarm_triggered
      - type: weather-forecast
        entity: weather.dark_sky

Here’s the log book file as well

December 22, 2018

10:37 AM [Garage Door] turned off
10:37 AM [Garage Door] turned on
10:36 AM [Garage Door] turned off
10:35 AM just standard status updates, didn’t copy

December 21, 2018

11:13 PM [Home Alarm]changed to disarmed
11:13 PM [Kitchen Door]turned off
11:13 PM [Kitchen Door] turned on
11:12 PM [Send notification when alarm triggered] has been triggered ( I manually tested the notification here)
11:12 PM [Home Alarm] changed to armed_home
11:12 PM [Home Alarm] changed to disarmed

Also I re-energized the Konnect.io board with the alarm. 20 minutes later as writing this, the alarm went off again.