add homeassistant
Some checks failed
Build and push image for doorman / docker (push) Failing after 2m44s
Some checks failed
Build and push image for doorman / docker (push) Failing after 2m44s
This commit is contained in:
parent
81699c7bf4
commit
fdb70a9703
16
README.md
16
README.md
@ -13,3 +13,19 @@ bun run index.ts
|
||||
```
|
||||
|
||||
This project was created using `bun init` in bun v1.0.3. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
|
||||
|
||||
|
||||
## homeassistant integration
|
||||
|
||||
|
||||
in configuration.yaml
|
||||
|
||||
```
|
||||
switch:
|
||||
- platform: rest
|
||||
name: Doorman
|
||||
icon: mdi:door-closed-lock
|
||||
state_resource: https://doorman.chromart.cc/api/door/info?door=buzzer
|
||||
resource: https://doorman.chromart.cc/api/door/auth?door=buzzer&key=1991
|
||||
is_on_template: "{{ value_json.status == 'OPEN' }}"
|
||||
```
|
||||
@ -8,6 +8,9 @@
|
||||
},
|
||||
{
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"path": "packages/serverless"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user