Skip to content

Commit be6a15c

Browse files
authored
Minor fixes in README.md
1 parent 13e9ba7 commit be6a15c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Home Assistant integration with OpenWrt devices
22

3-
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)
3+
[![hacs_badge](https://img.shields.io/badge/HACS-custom-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
4+
45

56
## Features
67

@@ -21,7 +22,7 @@
2122

2223
### Installing
2324

24-
* OpeWrt device(s):
25+
* OpenWrt device(s):
2526
* Make sure that `uhttpd uhttpd-mod-ubus rpcd` packages are installed (if you use custom images)
2627
* If you use mesh networks, install `rpcd-mod-iwinfo` package
2728
* Make sure that `ubus` is available via http using the manual: <https://openwrt.org/docs/techref/ubus>
@@ -36,10 +37,10 @@
3637

3738
* Create new file `/usr/share/rpcd/acl.d/hass.json`:
3839

39-
```json
40+
```jsonc
4041
{
4142
"hass": {
42-
"description": "Home Assistant OpenWrt integraion permissions",
43+
"description": "Home Assistant OpenWrt integration permissions",
4344
"read": {
4445
"ubus": {
4546
"network.wireless": ["status"],
@@ -82,7 +83,7 @@ config login
8283

8384
In order to allow ubus/rpcd execute a command remotely, the command should be added to the permissions ACL file above. The extra configuration could look like below (gives permission to execute `uptime` command):
8485

85-
```json
86+
```jsonc
8687
{
8788
"hass": {
8889
"write": {
@@ -103,7 +104,7 @@ In order to allow ubus/rpcd execute a command remotely, the command should be ad
103104

104105
In order to allow ubus/rpcd execute a command remotely, the command should be added to the permissions ACL file above. The extra configuration could look like below (gives permission to manage `presence-detector` service. Start, stop, restart, enable and disable system services.):
105106

106-
```json
107+
```jsonc
107108
{
108109
"hass": {
109110
"write": {

0 commit comments

Comments
 (0)