Skip to content

Commit

Permalink
#19: Changed the structure to support hacs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Steinmann committed Sep 15, 2019
1 parent e8f0149 commit ca0c2c0
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
vol.Optional(CONF_CODE_FORMAT, default='^\\d{4,6}$'): cv.string,
vol.Optional(CONF_THERMOMETERS, default=True): cv.boolean,
vol.Optional(CONF_ALARM_PANEL, default=True): cv.boolean,
vol.Optional(CONF_VERSION, default='v1_1_70'): cv.string
vol.Optional(CONF_VERSION, default='v1_1_71'): cv.string
}),
},
extra=vol.ALLOW_EXTRA)
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions custom_components/sector_alarm/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"domain": "hass_sectoralarm",
"name": "Hass Sectoralarm",
"documentation": "https://github.com/mgejke/hass-sectoralarm",
"dependencies": ["sector_alarm"],
"codeowners": ["mgejke"],
"requirements": ["aiohttp", "asyncsector>=0.2.0"]
}
File renamed without changes.
17 changes: 17 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# hass-sectoralarm

A Sector Alarm component for Home Assistant

Add the following to your settings file:
```
sector_alarm:
email: [email protected]
password: *******
alarm_id: <can be found from the url when you login to Sector Alarm, inside "">
code: <Your pin code to asm/disarm, optional>
thermometers: <if any thermometers should be added to HA, true/false, default is true>
alarm_panel: <if the alarm panel component should be added to HA, true/false, default is true>
version: <version of the sector alarm api, default is 'v1_1_70'>
```

Skip optional lines completely if not wanted.

1 comment on commit ca0c2c0

@loial
Copy link

@loial loial commented on ca0c2c0 Sep 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in info.md, line 11: asm->arm

Please sign in to comment.