Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Petro31 authored Jan 31, 2020
1 parent 2d6fe99 commit fdf913b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Home Assistant Simple Doorbell Notification & TTS
# Home Assistant Light Toggle Automation for Appdaemon

[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)
<br><a href="https://www.buymeacoffee.com/Petro31" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-black.png" width="150px" height="35px" alt="Buy Me A Coffee" style="height: 35px !important;width: 150px !important;" ></a>
Expand All @@ -23,6 +23,18 @@ office_toggle:
- switch.office_outlet
```
#### Turn on light when TV turns on, only at night.
```yaml
tv_toggle:
module: toggle_light
class: ToggleLight
entity: remote.tv
turn_off: false
sundown: true
entities:
- light.living_room
```
#### Advanced
```yaml
office_toggle
Expand All @@ -49,6 +61,9 @@ key | optional | type | default | description
`class` | False | string | `ToggleLight` | The name of the Class.
`entity` | False | string | | entity_id of light/switch/sensor etc.
`entities`| False | list | | A list of entity_id's or entity objects.
`turn_on` | False | bool | `true` | enables/disables the turn_on command when `entity` is toggled.
`turn_off` | False | bool | `true` | enables/disables the turn_off command when `entity` is toggled.
`sundown` | False | bool | `false` | only allows the toggle to occur when the sun is down.
`log_level` | True | `'INFO'` &#124; `'DEBUG'` | `'INFO'` | Switches log level.

#### Entity Object Configuration
Expand Down

0 comments on commit fdf913b

Please sign in to comment.