Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arming Area B causes instant crash #92

Open
n13ldo opened this issue Apr 12, 2024 · 0 comments
Open

Arming Area B causes instant crash #92

n13ldo opened this issue Apr 12, 2024 · 0 comments
Assignees

Comments

@n13ldo
Copy link

n13ldo commented Apr 12, 2024

Describe the bug
Two areas defined (see below).

Area A: Entry/Exit/Guard zones. Arms/disarms correctly and works well.

Area B: Only Guard instant mode zones. If I try to arm independently of Area A this addon crashes immediately. As it's instant then there's no 'pending' phase to the arming. Clue in the log below perhaps?

texecom:
host: 192.168.-.-
port: 10001
udl_password: "----"
mqtt:
host: 192.168.-.-
username:
password:
client_id: texecom2mqtt
homeassistant:
discovery: true
areas:

  • id: house
    name: House
    full_arm: armed_away
    part_arm_1: armed_night
    part_arm_2: armed_home
    part_arm_3: armed_custom_bypass
    code_arm_required: false
    code_disarm_required: false
  • id: garage
    name: Garage
    full_arm: armed_away
    zones: []
    log: debug

Application version
1.2.3

Texecom alarm type
Premier Elite 24

Home Assistant version
Core: 2024.4.2
Supervisor: 2024.04.0
Operating System: 12.1
Frontend: 20240404.1

Debug log
The addon crashes so nothing written to it's debug log but the HA log shows this:
24-04-12 09:57:06.444 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{% set values = {"in_entry":"pending","in_exit":"arming","disarmed":"disarmed","triggered":"triggered","full_armed":"armed_away","part_armed_1":"armed_night","part_armed_2":"armed_home","part_armed_3":"armed_custom_bypass"} %}{{ values[value_json.status] }}'
2024-04-12 09:57:06.445 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value: , template: {% set values = {"in_entry":"pending","in_exit":"arming","disarmed":"disarmed","triggered":"triggered","full_armed":"armed_away","part_armed_1":"armed_night","part_armed_2":"armed_home","part_armed_3":"armed_custom_bypass"} %}{{ values[value_json.status] }})
20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants