Apologies all. Took a little longer to get the code into a shape to upload. Github updated as of 2 mins ago!
Changes:
Perimeter Mode (Optional) - I use this to just arm the doors/windows during the day when I am in
Weather Icon/Summary (Optional) - You need Dark Sky for this to work
Added 0 to code panel as requested by @thundergreen (Not sure about the design, if anyone could suggest/upload a decent layout it would be appreciated)
Made the changes but they didnāt help. Iām going to remove each sensor from the alarm and place them back one at a time to see if I can identify the root cause. Will let you know if I come up with a solution.
Nope it still activates ātriggeredā status on trip so all your existing automation should be good to go. Just make sure you add the sensors to āperimeterā group
Ok, every sensor that is on/off close/open on their own without the customization work without a problem. Why is that the customization cause the issue since the sensor that is being used is still outputting the same information just formatted differently?
@gazoscalvertos - I finally have it going. Originally I was customizing the sensors as standard sensors, with the help of @a_ndy on another thread I posted trying to discover the cause of why device_class: opening wasnāt working for me, he enlightened me that I needed to convert the sensor into a binary_sensor. That did the trick!
Hi gazoscalvertos,
thank you for your project, I had to replace drytoastman component due to incompatibility with the latest versions of HA, and yours provided a smooth transistion, more or less: I wanted to ask you if thereās a way to avoid asking for a digit code entry on disarm; I use some automations to temporarily disable the alarm on certain situations, and they are not working, probably for the inability to disarm the system without pin.
I am trying do do something with a Amazon Dash Button via MQTT to enable and disable the alarm from the Dash Button on a set of keysā¦ Im close but cant get the disarm to work, any ideas
- alias: 'Alarm Arm and Disarm Using Amazon Dash Olay'
initial_state: 'on'
trigger:
platform: state
entity_id: switch.olay_dash_switch
to: 'on'
action:
service_template: >
{% if is_state('alarm_control_panel.house', 'disarmed') %}
alarm_control_panel.alarm_disarm
{% else %}
alarm_control_panel.alarm_arm_away
{% endif %}
data_template:
entity_id: alarm_control_panel.house
data: >
{% if is_state('alarm_control_panel.house', 'disarmed') %}
code: 9999
{% endif %}
@gazoscalvertos thanks i get the following error when added !
2017-12-04 14:04:43 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: invalid template (TemplateSyntaxError: unexpected char ā!ā at 6) for dictionary value @ data[āactionā][0][ādata_templateā][ādataā]. Got None invalid template (TemplateSyntaxError: unexpected char ā!ā at 6) for dictionary value @ data[āactionā][0][āservice_templateā]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 27). Please check the docs at https://home-assistant.io/components/automation/