Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Lovelace Alarm Panel with hass.io: "Entity not available"

$
0
0

@APayerl wrote:

I’m trying to set up my HA as a home alarm system.
My hardware and software is: hass.io 0.106.2 (RPi 4)

I have read alot of guides but it’s hard to keep track of all the different integrations since it seems several has almost the same name? (alarm_panel_control ish…)
Now I’ve done a couple of tries but the lovelace card displayed is this:
alarm_control_panel_test
does anyone have any idea what i’m missing?
If it’s not obvious i’m a newbie on Home Assistant… :upside_down_face:

Below you can see my configuration…
configuration.yaml:

default_config:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

discovery:
lovelace:
  mode: yaml

alarm_control_panel:
  - platform: manual
    entity: 'alarm_control_panel.alarm'
    name: Home Alarm
    code: 0000
    pending_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0

automations.yaml:

- alias: 'Trigger alarm while armed away'
  trigger:
    - platform: state
      entity_id:
        - binary_sensor.openclose_6
        - binary_sensor.openclose_3
        - binary_sensor.openclose_2
      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

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

ui-lovelace.yaml:

title: Home
views:
  - badges:
      - entity: person.peter
      - entity: sun.sun
    cards:
      - type: alarm-panel
        name: House Alarm
        entity: alarm_control_panel.alarm
        states:
          - arm_home
          - arm_away
          - arm_night
      - entity: weather.home
        type: weather-forecast
      - entities:
          - binary_sensor.openclose_6
          - binary_sensor.vibration_8
          - sensor.bedroom_multipurpose_sensor_battery_level
        type: entities
      - entities:
          - binary_sensor.openclose_3
          - binary_sensor.vibration_5
          - sensor.kitchen_door_multipurpose_sensor_battery_level
        type: entities
      - entities:
          - sensor.openclose_2_battery_level
          - binary_sensor.openclose_2
        type: entities
      - entities:
          - zwave.fibaro_system_fgsd002_smoke_sensor
          - sensor.fibaro_system_fgsd002_smoke_sensor_battery_level
          - sensor.fibaro_system_fgsd002_smoke_sensor_burglar
          - sensor.fibaro_system_fgsd002_smoke_sensor_general
          - sensor.fibaro_system_fgsd002_smoke_sensor_heat
          - sensor.fibaro_system_fgsd002_smoke_sensor_heat_2
          - sensor.fibaro_system_fgsd002_smoke_sensor_power_management
          - binary_sensor.fibaro_system_fgsd002_smoke_sensor_sensor
          - sensor.fibaro_system_fgsd002_smoke_sensor_smoke
          - sensor.fibaro_system_fgsd002_smoke_sensor_smoke_2
          - sensor.fibaro_system_fgsd002_smoke_sensor_sourcenodeid
          - sensor.fibaro_system_fgsd002_smoke_sensor_system
          - sensor.fibaro_system_fgsd002_smoke_sensor_temperature
        type: entities
    path: default_view
    title: Home

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>