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

name of the alarm #89

Open
wants to merge 355 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
355 commits
Select commit Hold shift + click to select a range
e1ee721
Merge branch 'dev'
akasma74 Jun 28, 2019
27b36cc
Change wording
akasma74 Jun 28, 2019
5ae42cd
forgotten piece
akasma74 Jun 28, 2019
5694c6a
minor improvements to BwResources class
akasma74 Jun 28, 2019
e78da34
urlExists uses HEAD method, not GET
akasma74 Jun 28, 2019
bd2341f
forgotten piece part 2
akasma74 Jun 28, 2019
fee9972
Delete const.py
akasma74 Jun 29, 2019
55a900c
Create .gitignore
akasma74 Jun 29, 2019
741885e
version changed
akasma74 Jul 1, 2019
ae5d4e4
even more simplified
akasma74 Jul 1, 2019
278fc85
Create .gitignore
akasma74 Jul 2, 2019
32512d4
Merge branch 'master' into dev
akasma74 Jul 2, 2019
c1becc6
preserve standard alarm_arm_xxx service calls
akasma74 Jul 2, 2019
8f8d473
Merge pull request #23 from akasma74/dev
akasma74 Jul 2, 2019
5c0a8e3
word order changed
akasma74 Jul 2, 2019
55e80c4
version changed to DEV
akasma74 Jul 2, 2019
ae179ab
SAFE_ARM_XXX MQTT commands introduced
akasma74 Jul 4, 2019
27ff87a
Merge pull request #26 from akasma74/dev
akasma74 Jul 4, 2019
4e3f115
markup f£$kup
akasma74 Jul 4, 2019
c74ca89
SAFE_ARM_XXX commands described
akasma74 Jul 4, 2019
3e22ea3
Added How to check if alarm is set
akasma74 Jul 4, 2019
2a9fec8
Update notes.md
akasma74 Jul 4, 2019
116cf2b
Update notes.md
akasma74 Jul 4, 2019
fa54210
Update notes.md
akasma74 Jul 4, 2019
3fca738
Fixed typo
Jul 4, 2019
9cb5b64
Merge pull request #27 from marrobHD/patch-11
akasma74 Jul 4, 2019
1017f30
ignore_open_sensors attribute added
akasma74 Jul 4, 2019
70595f3
set_ignore_open_sensors added, the rest removed
akasma74 Jul 4, 2019
6858d3c
updated
akasma74 Jul 4, 2019
29c288f
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Jul 4, 2019
1d46cf6
Merge pull request #28 from akasma74/dev
akasma74 Jul 4, 2019
a1e5069
version changed
akasma74 Jul 4, 2019
2ba603a
readability improved a bit
akasma74 Jul 5, 2019
adc1765
alarm_arm, code_to_arm and empty code fixed
akasma74 Jul 11, 2019
ff8b1cf
code_to_arm added
akasma74 Jul 11, 2019
d6366cf
Integrarion renamed
akasma74 Jul 11, 2019
3028247
updated
akasma74 Jul 11, 2019
482a25a
dev tag added to the version
akasma74 Jul 11, 2019
e76d3fb
Integration's name change
akasma74 Jul 11, 2019
d3115e8
Better handling of empty codes
akasma74 Jul 11, 2019
2df386e
Update TODO
akasma74 Jul 11, 2019
1dc9e68
version changed
akasma74 Jul 11, 2019
b9ce525
Broken links fixed
akasma74 Jul 11, 2019
c216e92
link fixed
akasma74 Jul 11, 2019
ed9a221
Merge pull request #31 from akasma74/dev
akasma74 Jul 11, 2019
396124a
version: dev
akasma74 Jul 14, 2019
fbf67b0
fixes #44
akasma74 Aug 18, 2019
87c39a8
fixes #38
akasma74 Aug 18, 2019
0f13958
fixes #40
akasma74 Aug 19, 2019
037ac33
code_to_arm -> code_arm_required migration: preparation
akasma74 Aug 19, 2019
58b179a
log message level changed to INFO
akasma74 Aug 19, 2019
eb8f795
How to rewritten and general markup improved
akasma74 Aug 19, 2019
37ba1f0
version: bump
akasma74 Aug 19, 2019
abb2bae
updated
akasma74 Aug 19, 2019
0c0501f
Merge pull request #46 from akasma74/dev
akasma74 Aug 19, 2019
eafb13b
Update README.md
akasma74 Aug 19, 2019
00e10f6
Added not for hiding sidebar
TJPoorman Aug 25, 2019
a54b3ca
Added note for hiding sidebar
TJPoorman Aug 25, 2019
4a3bc18
Update configuration.md
TJPoorman Aug 25, 2019
787ca49
adjustments to allow toggles to work in HA > 0.99
akasma74 Oct 15, 2019
529e58c
filename updated
akasma74 Oct 15, 2019
2b2f335
Merge pull request #54 from akasma74/dev
akasma74 Oct 15, 2019
5082d28
Version updated
akasma74 Oct 15, 2019
3479ded
log level decreased
akasma74 Oct 19, 2019
9895a2d
Merge pull request #55 from akasma74/akasma74-patch-1
akasma74 Oct 19, 2019
4210f7d
version changed to dev
akasma74 Oct 19, 2019
5103b80
Create foo.bar
akasma74 Oct 19, 2019
9c1bc79
Add files via upload
akasma74 Oct 19, 2019
3cf9889
Delete wallpanel.png
akasma74 Oct 19, 2019
e2c6c62
Delete foo.bar
akasma74 Oct 19, 2019
e91e438
some additions
akasma74 Oct 25, 2019
7440d67
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Oct 25, 2019
a6c5ba9
PR #47
akasma74 Oct 25, 2019
410cfb2
Merge pull request #49 from TJPoorman/master
akasma74 Oct 25, 2019
3b9fa3b
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Oct 25, 2019
d1491e8
hide_sidebar - wording changed
akasma74 Oct 25, 2019
7904cd8
hide_sidebar - wording changed
akasma74 Oct 25, 2019
e49a24c
isChecked function is now case-insensitive and accepts "enabled"/"dis…
akasma74 Nov 1, 2019
0119fe2
use isChecked() and isdisarmed() instead of direct access
akasma74 Nov 1, 2019
99b0b4f
make isChecked similar to homeassistant/helpers/config_validation: bo…
akasma74 Nov 2, 2019
ea78c0c
created and used isPending and isWarning (to accompany isdisarmed)
akasma74 Nov 2, 2019
0a658a7
that justify-content does not make any difference, got overriden by t…
akasma74 Nov 2, 2019
888a787
BAU
akasma74 Nov 6, 2019
b041bba
services added
akasma74 Nov 6, 2019
ce8a93f
config example added
akasma74 Nov 6, 2019
7b9f303
all automation examples merged into one file
akasma74 Nov 6, 2019
bdc7208
moved some info to configuration
akasma74 Nov 6, 2019
f465ad1
all examples are now here
akasma74 Nov 6, 2019
f74b3b7
new structure and up-to-date info about configuration variables
akasma74 Nov 6, 2019
3b3c7d7
changes to configuration.md reflected
akasma74 Nov 6, 2019
b24161d
Update examples.md
akasma74 Nov 6, 2019
9f532ed
Update examples.md
akasma74 Nov 6, 2019
5a5496e
cosmetics
akasma74 Nov 6, 2019
8819aeb
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Nov 6, 2019
643b023
Update examples.md
akasma74 Nov 6, 2019
c3352ec
Update examples.md
akasma74 Nov 6, 2019
98faf97
Update examples.md
akasma74 Nov 6, 2019
08216fa
Update examples.md
akasma74 Nov 6, 2019
0ad147d
small fixes
akasma74 Nov 6, 2019
4ffe7f4
Markdown -> GitHub Flavored Markdown
akasma74 Nov 6, 2019
c38608d
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Nov 6, 2019
162b2f7
small improvements
akasma74 Nov 6, 2019
4a38158
unnecessary escaping removed from code blocks
akasma74 Nov 6, 2019
e233c39
added missing space before ####
akasma74 Nov 6, 2019
993f86e
urls fixed
akasma74 Nov 6, 2019
594d429
table
akasma74 Nov 6, 2019
5a09c7d
Create _config.yml
akasma74 Nov 6, 2019
81086e1
table
akasma74 Nov 6, 2019
2ca911c
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Nov 6, 2019
50ff44c
table
akasma74 Nov 6, 2019
5df17b5
Update examples.md
akasma74 Nov 6, 2019
e705931
Update examples.md
akasma74 Nov 6, 2019
a793e50
Update examples.md
akasma74 Nov 6, 2019
cc7864d
Update examples.md
akasma74 Nov 6, 2019
2319fb8
Update examples.md
akasma74 Nov 6, 2019
37755ba
Update examples.md
akasma74 Nov 6, 2019
8aed95d
Update examples.md
akasma74 Nov 6, 2019
a1e6da6
Update examples.md
akasma74 Nov 6, 2019
e7d60a0
Update examples.md
akasma74 Nov 6, 2019
63996ea
Update examples.md
akasma74 Nov 6, 2019
91e36cd
Update _config.yml
akasma74 Nov 6, 2019
6bb5bc7
Update examples.md
akasma74 Nov 6, 2019
33c8813
Update examples.md
akasma74 Nov 6, 2019
bb64075
Update examples.md
akasma74 Nov 6, 2019
da5cb2a
Update examples.md
akasma74 Nov 6, 2019
244aae9
Update examples.md
akasma74 Nov 6, 2019
56eb1e1
<style> -> <h4>/inline styling
akasma74 Nov 6, 2019
62af028
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Nov 6, 2019
6a72e4e
Update examples.md
akasma74 Nov 6, 2019
be9d117
Update examples.md
akasma74 Nov 6, 2019
b6ea7ec
Update examples.md
akasma74 Nov 6, 2019
b9d3c4a
Update examples.md
akasma74 Nov 6, 2019
6026fde
Update examples.md
akasma74 Nov 6, 2019
ff7e159
Update examples.md
akasma74 Nov 6, 2019
16e5976
Update examples.md
akasma74 Nov 6, 2019
699e8a2
Update examples.md
akasma74 Nov 6, 2019
82d54f9
Update examples.md
akasma74 Nov 6, 2019
7314162
Update examples.md
akasma74 Nov 7, 2019
ca8c756
Update examples.md
akasma74 Nov 7, 2019
973941f
Update examples.md
akasma74 Nov 7, 2019
e543f57
Update examples.md
akasma74 Nov 7, 2019
e99f5d0
Update examples.md
akasma74 Nov 7, 2019
f099316
Update examples.md
akasma74 Nov 7, 2019
1064195
Update examples.md
akasma74 Nov 7, 2019
d44bbf0
Update examples.md
akasma74 Nov 7, 2019
17c813f
Update examples.md
akasma74 Nov 7, 2019
5d57d60
Update examples.md
akasma74 Nov 7, 2019
4497780
Update examples.md
akasma74 Nov 7, 2019
a99ac85
Update examples.md
akasma74 Nov 7, 2019
2d3f3ec
Update examples.md
akasma74 Nov 7, 2019
e23e987
Update examples.md
akasma74 Nov 7, 2019
b0bde6e
Update examples.md
akasma74 Nov 7, 2019
4c00a53
Update examples.md
akasma74 Nov 7, 2019
3298823
Update examples.md
akasma74 Nov 7, 2019
e8d1b07
Update examples.md
akasma74 Nov 7, 2019
ccdc984
Update examples.md
akasma74 Nov 7, 2019
b6c840d
Update examples.md
akasma74 Nov 7, 2019
cddc20c
Update examples.md
akasma74 Nov 7, 2019
815bbfc
Update examples.md
akasma74 Nov 7, 2019
87f3454
Update examples.md
akasma74 Nov 7, 2019
85f6bee
Update examples.md
akasma74 Nov 7, 2019
d461fb5
Update examples.md
akasma74 Nov 7, 2019
5e6312a
Update examples.md
akasma74 Nov 7, 2019
3000483
Update examples.md
akasma74 Nov 7, 2019
2807125
Update examples.md
akasma74 Nov 7, 2019
20bf5c3
Update examples.md
akasma74 Nov 7, 2019
3dd0657
Update examples.md
akasma74 Nov 7, 2019
0c8fd58
<s style>/<h4> -> &nbsp;/<a id="">
akasma74 Nov 7, 2019
aa3b27c
fixed line endings and links
akasma74 Nov 7, 2019
335e535
breaking long lines and some cosmetics
akasma74 Nov 7, 2019
c7398c7
final touches
akasma74 Nov 7, 2019
e5c3ca2
one more thing
akasma74 Nov 7, 2019
91cbaeb
Delete _config.yml
akasma74 Nov 7, 2019
e2dcb3f
Update README.md
akasma74 Nov 7, 2019
2b12d51
final touches
akasma74 Nov 7, 2019
f5b83b6
bump version
akasma74 Nov 7, 2019
e6277b3
Merge pull request #57 from akasma74/dev
akasma74 Nov 7, 2019
f1285ba
Merge branch 'dev' of https://github.com/akasma74/Hass-Custom-Alarm i…
akasma74 Nov 8, 2019
8978ca8
fix #56
akasma74 Nov 8, 2019
abd45f3
Merge branch 'master' into dev
akasma74 Nov 8, 2019
7a3c473
cosmetic changes
akasma74 Nov 8, 2019
f69a154
version -> dev
akasma74 Nov 8, 2019
b084e94
cosmetic changes
akasma74 Nov 14, 2019
6898f1d
version dev -> rel
akasma74 Nov 14, 2019
fdc3508
wording
akasma74 Nov 14, 2019
4cde797
Merge pull request #58 from akasma74/dev
akasma74 Nov 14, 2019
167aff0
version rel -> dev
akasma74 Nov 14, 2019
52c173e
fix #60 (the integration doesn't work with HA 0.103)
akasma74 Dec 12, 2019
c5dde87
bump version
akasma74 Dec 12, 2019
d17efdb
Merge pull request #62 from akasma74/dev
akasma74 Dec 12, 2019
ae271de
version: rel -> dev
akasma74 Dec 12, 2019
ca4b47d
ignore python cache
akasma74 Dec 13, 2019
5882861
make the screen layout nicer
akasma74 Dec 13, 2019
f739f00
almost perfect panel's look
akasma74 Dec 13, 2019
72420e8
better codepanel layout when passcode required to arm
akasma74 Dec 13, 2019
c66f74e
first working warning if no passcode specified when code_to_arm == true
akasma74 Dec 13, 2019
a34811d
better info-panel-selection and main-title/status bar rendering
akasma74 Dec 14, 2019
d3214ca
even better info-panel-selection layout
akasma74 Dec 14, 2019
598cfed
main title aligned with alarm status
akasma74 Dec 14, 2019
b1ae525
mwc-button replaced by button with mwc styling, alpha
akasma74 Dec 18, 2019
9511b76
polishing invisible button styling
akasma74 Dec 18, 2019
e0f5632
almost perfect version with adaptable codepanel
akasma74 Dec 18, 2019
4568dae
generate mwc-buttons via computed bindings
akasma74 Dec 19, 2019
7c0adda
working version of universal keypad (fix #42)(with empty main_title g…
akasma74 Dec 19, 2019
4ea5b10
better version of combined status (no more separate main_title!)
akasma74 Dec 21, 2019
8a325cf
status bar and info-selection now have hardcoded fixed height (equal …
akasma74 Dec 22, 2019
bb226c5
minor tweaks
akasma74 Dec 23, 2019
de2feed
workind adaptive codepanel in when buttonShape=round
akasma74 Dec 23, 2019
d0e804d
better buttonShape=round version (minor layout improvements)
akasma74 Dec 23, 2019
b2f7fca
almost perfect _updateButtonsStyles version for all three buttonShape…
akasma74 Dec 24, 2019
3a40afa
added default parameter to param: var(--param, var(--default-param))
akasma74 Dec 24, 2019
666fe5b
more style-consistent and CSS-configurable panel
akasma74 Dec 24, 2019
cf72cc9
Update alarm.css
akasma74 Dec 25, 2019
8747d07
bump version to 1.11.2pre1
akasma74 Dec 25, 2019
e751315
Merge pull request #64 from akasma74/dev
akasma74 Dec 25, 2019
a69c436
dependencies updated
akasma74 Jan 9, 2020
edcb04e
fixes #80
akasma74 Feb 9, 2020
9f25014
proper fix to #63 #80 (and maybe some other)
akasma74 Feb 9, 2020
d5ec5fc
roll back to 0.12.1 and bump version to 0.12.4
akasma74 Apr 7, 2020
095d30f
Update issue templates
akasma74 Apr 17, 2020
8d46392
Update issue templates
akasma74 Apr 17, 2020
f8c4cba
Update issue templates
akasma74 Apr 17, 2020
2aed8bc
Phase 1:
akasma74 May 21, 2020
b793925
Phase 2:
akasma74 May 21, 2020
e218d24
bump version to v1.12.5
akasma74 May 21, 2020
019a524
const -> var for _VERSION
akasma74 May 21, 2020
e45906f
bump version to v1.12.6
akasma74 May 21, 2020
1e4077e
don't register panel for HA >= 0.115
akasma74 Sep 24, 2020
8bc8091
add note about lack of panel
akasma74 Sep 25, 2020
b4e28fa
use sanitize_path to validate requests
akasma74 Jan 18, 2021
6cc8197
change version to 1.12.7
akasma74 Jan 18, 2021
0446fa3
change version to 1.12.8
akasma74 Jan 18, 2021
ff20fe8
Merge branch 'master' of https://github.com/akasma74/Hass-Custom-Alarm
akasma74 Jan 18, 2021
ec369b7
only allow non-malicious paths
akasma74 Jan 23, 2021
f9bf9eb
change version to 1.12.9
akasma74 Jan 23, 2021
59d5b5e
Add version key
tomlut Mar 5, 2021
811ca44
Merge pull request #130 from tomlut/patch-1
akasma74 May 16, 2021
9e776bb
change version to 1.12.10
akasma74 May 16, 2021
23bbb2d
Update alarm_control_panel.py to correct removal of ruamel_yaml in Ho…
tomlut Oct 2, 2021
c270ea1
change version to 1.12.11
akasma74 Oct 2, 2021
c4099d8
Merge pull request #134 from tomlut/patch-1
akasma74 Oct 2, 2021
a88bd0a
Merge branch 'master' of https://github.com/akasma74/Hass-Custom-Alarm
akasma74 Oct 2, 2021
aca5bc5
Fix for #136, should work for both old and new HA versions
akasma74 Dec 24, 2021
44b08b8
change version to 1.12.12
akasma74 Dec 24, 2021
25fe8f0
rename device_state_attributes
akasma74 Mar 1, 2022
856b749
fix #139
akasma74 Apr 29, 2022
5440e79
bump version to 1.12.14
akasma74 Apr 29, 2022
c35a81f
fix #140 & update version
akasma74 Jan 2, 2023
0cc0303
bump version to 1.12.15
akasma74 Jan 2, 2023
8c7b663
Update ruamel.yaml version
akasma74 Jun 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,52 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

<!-- READ THIS FIRST:
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/akasma74/Hass-Custom-Alarm/releases
- Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
-->

**The component:**
- Current version:
- Last known working version (if any):

**Your setup:**
- Home Assistant version:
- Last known working Home Assistant version (if any):
- OS:
- Browser name & version:

**Describe the bug**
A clear and concise description of what the bug is.
<!-- A clear and concise description of what the bug is.-->

**To Reproduce**
<!--
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
-->

**Expected behavior**
A clear and concise description of what you expected to happen.
<!-- A clear and concise description of what you expected to happen. -->

**Your bwalarm.yaml**
<!-- If applicable, paste content of your config to help explain your problem. -->
```yaml
```
**Home Assistant log**
<!-- If applicable, paste messages from Home assistant log related to your problem here. -->
```txt
```
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Browser (please complete the following information):**
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
<!-- If applicable, add screenshots to help explain your problem. -->

**Additional context**
Add any other context about the problem here.
<!-- Add any other context about the problem here.<!--
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
__pycache__
132 changes: 51 additions & 81 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,92 +1,62 @@
# Home Assistant - Custom Alarm Interface!
## Intro :-)
# BWAlarm (ak74 edition)

Welcome my fellow modders, tinkerers, home assistant wizards!!
## Disclaimer
This fork was created to maintain the original [bwalarm](https://github.com/gazoscalvertos/Hass-Custom-Alarm) custom component until its author is back.
The discussion thread on Home Assistant Community to share ideas or ask for help (NOT to report a bug!) is [here](https://community.home-assistant.io/t/bwalarm-akasma74-edition/113666).
Feel free to open a [new issue](https://github.com/akasma74/Hass-Custom-Alarm/issues/new/choose) or make a Pull Request.
Any constructive feedback/suggestion is welcome.

Follow the thread [here](https://community.home-assistant.io/t/yet-another-take-on-an-alarm-system/32386)
## Important!
Since HA 0.115 until further notice this component no longer has a GUI panel and can only be controlled via automations/MQTT commands/Lovelace Alarm Card.

Consider donating to this project to keep it going as anything contributed will be placed back in to enable more hardware integration, new features and bug squashing.

This is very much a community project so if you wish to chip in then please do!! I could really use a CSS, animation, design guru to make this look amazing. Also please feel free to leave comments, suggestions, enhancements and fixes!!

**NOTE!!! MAJOR CHANGE** It's time to publish the New UI and settings into the master release.

## Installation

You will need to copy the following files into your home assistant configuration directory

alarm.yaml *This files stores your alarm configuration. An options page will be created for this file*
custom_components/alarm_control_panel/bwalarm.py *The brains of the operation. This is the logic of the custom alarm system*
panels/alarm.html *This is the interface for the custom alarm component. It's actually optional as the alarm will function without it but recommended for ease of setup*
www/alarm/[ALL FILES] *These files control how the interface looks and feels*
www/lib/[ALL FILES] *These files add additional functionality to the interface in order to work*
www/images/ha.png *An image file used for the interface log*

To get things working with Home Assistant (HA) you will need to adjust your configuration.yaml to instruct HA to use your new custom alarm component, add the following to this file:
## How to: installation
Manually:
Copy the following folders into your home assistant configuration directory:
```
alarm_control_panel: !include alarm.yaml
custom_components/bwalarm/ The alarm system code, resources and documentation there
resources This folder stores your alarm configuration file and some user data (i.e badges)
```
You will also need to tell HA where your new panel interface file is. Also add the following to your configuration.yaml:

Using [HACS](https://github.com/custom-components/hacs) (you need to have HACS already installed and configured):
1. Click on **Community** in the left hand side menu on Home Assistant frontend
2. Click **Store**
3. Scroll down until you see _BWAlarm (ak74 edition)_ and click on it
4. If necessary, select **Show Beta** from the drop-down menu under **SETTINGS**
5. Optionally, select version from **Available versions** drop-down list (_it has the latest one selected by default_).
6. Click **INSTALL** and wait until it's done
7. **If you don't have `resources` folder in your `<Home Assistant config folder>` folder, you may need to create one**
8. Save [bwalarm](resources/) folder into your local `<Home Assistant config folder>/resources` folder
8. [Configure](custom_components/bwalarm/resources/doc/configuration.md) the alarm.

To get things working with Home Assistant (HA) you need to add the following to your `configuration.yaml`:
```
panel_custom: !include panel_custom.yaml
alarm_control_panel: !include resources/bwalarm/bwalarm.yaml
```
You may need to restart HA if the component doesn't load first time as HA will need to install a dependency (ruamel.yaml).
You may need to restart HA if the integration doesn't load first time as HA will need to install a dependency (`ruamel.yaml`).

It's advisable to start with a new alarm.yaml file with the minimum configuration set:
It's advisable to start with a new ```bwalarm.yaml``` file (located in ```resources/bwalarm``` folder) with the minimum configuration set:
```
platform: bwalarm
name: House
```
Your new interface can be used to modify your alarm.yaml directly.

The default password to access the settings page is: **HG28!!&dn**

Please test and provide feedback/suggestions.

### Features:
- State specific groups and times (NEW)
- User specific codes
- Panic Mode
- MQTT Integration
- Floorplan Integration
- Alarm State Persistence on reboots/power restore
- Lockout of HA sidebar when armed
- Custom Panel allowing your own html to display whatever you choose (Cameras, Sliding Images etc)
- Passcode Attemps/Lockout
- Support for custom device states
- Code panel 0-9 on disarm only
- Weather Status (Optional) - **NOTE:** Weather sensor nows supports generic sensors (sensor.weather_summary & sensor.weather_temperature) if these are not found then it will default to the dark sky sensors (sensor.dark_sky_summary & sensor.dark_sky_temperature)
- Perimeter Mode (Optional) - I use this to only arm a particular set of sensors (doors) whilst I'm using all floors.
- Masks passcode on entry
- clock display (Optional)
- Digit code entry on disarm
- Themed colours depending on alarm state
- Countdown timer on 'Pending' state
- Notification of Open Sensors with the option to override
- Information/Debug panel

### Change Log:
- 27/11/18:
- [FEATURE] Adding some basic error handling which will be enhanced at a later date
- [FIX BUG] Fixed margin issue in firefox (settings)
- [REQUEST] Sorted sensors alphabetically
- [FIX BUG] Fixed clock, serif, weather, passcode display issues

- 22/11/18:
- Quite a few bugs and issues have been resolved on this release. There has also been a number of changes to the config file layout so you are likely required to start from scratch as the users, themes and panel settings have changed.

- Updated alarm.html to 1.3.3
- Updated bwalarm.py to 1.1.3

- fixed duplicate sensors in settings panel
- fixed passcode attempts setting
- fixed code to arm display issues
- fixed persistant mode
- fixed sesnor groups
- fixed code to arm panel display and alignment
- reformated logs
- fixed log (displaying name and image)
- removed windows line feed
- integrated HASS users into alarm automatically however these initially are disabled
- fixed switch breaks on service call
- fixed themes
You can always configure your alarm using web interface or by editing your ```bwalarm.yaml``` directly.
The default password to access the Settings tab of the panel is **HG28!!&dn**
For more details please refer to the [configuration variables](custom_components/bwalarm/resources/doc/configuration.md) page, [examples](custom_components/bwalarm/resources/doc/examples.md) and [notes](custom_components/bwalarm/resources/doc/notes.md).

## How to: update
Manually:
Currently the update process is pretty much similar to installation:
1. Copy a new release archive/clone the repository from GotHub to a local folder on your computer.
2. You only need to copy `custom_components/bwalarm` folder from the downloaded release into your `<Home Assistant config folder>/custom_components` folder.
3. Please note that you DON'T need to overwrite `<Home Assistant config folder>/resources` folder as it contains your integration's configuration file (and possibly some additional resources).

Using [HACS](https://github.com/custom-components/hacs):
1. Click on **Community** in the left hand side menu on Home Assistant frontend
2. Click on _BWAlarm (ak74 edition)_ in Integrations
3. Click **UPGRADE**

**Bear in mind that if you use this method, it only updates `<Home Assistant config folder>/custom_components/bwalarm/` folder and **ALL** user data inside that folder will be lost upon every update!**
Updating by using HACS (even if you initially installed the integration manually) does not overwrite user settings as these are stored in the `<Home Assistant config folder>/resources` folder.

## After update (for all methods)
Please note that the component's code is loaded on Home Assistant startup and the panels' code (`panel.html`) is cached by a browser.
Therefore, **every time you update** no matter how, **you HAVE to clear cache of ALL of your browsers and then RESTART Home Assistant** for changes to take effect.
96 changes: 0 additions & 96 deletions README.md.old

This file was deleted.

13 changes: 0 additions & 13 deletions alarm.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions automation/panic_mode.yaml

This file was deleted.

Loading