An open API service indexing awesome lists of open source software.

https://github.com/aneisch/follow_me_appdaemon

🚶🚶AppDaemon app to loosely couple entities
https://github.com/aneisch/follow_me_appdaemon

appdaemon-apps hacs

Last synced: about 1 year ago
JSON representation

🚶🚶AppDaemon app to loosely couple entities

Awesome Lists containing this project

README

          

# Follow Me App
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs)

Buy Me A Coffee

_An app to allow easy coupling of entities_

## Installation

This app is best installed using [HACS](https://github.com/custom-components/hacs), so that you can easily track and download updates.

Alternatively, you can download the `follow_me` directory from inside the `apps` directory here to your local `apps` directory, then add the configuration to enable the `follow_me` module.

## How it works

You can define an instance of the app in your apps.yaml file for every "group" of leader/follower you have. When the leader turns on, the follower will, well... follow! Same goes for off. You can also make the follower assume the inverted state of the leader. Only works with on/off state.

## App configuration

```yaml
follow_lamps:
module: follow_me
class: Follow
leader: group.living_room_lamps
follower: switch.entertainment_center_lights,switch.christmas_tree
```

key | optional | type | default | description
-- | -- | -- | -- | --
`module` | False | string | | The module name of the app.
`class` | False | string | | The name of the Class.
`leader` | False | string OR comma separated | | The entity_id(s) you want to lead.
`follower` | False | string OR comma separated | | The entity_id(s) you want to follow leader state.
`invert` | True | boolean | False | Invert behavior of leader (if a leader turns off, followers turn on).
`follow_on` | True | boolean | True | Follow `on` state of leader(s). Used for unidirectional follow.
`follow_off` | True | boolean | True | Follow `off` state of leader(s). Used for unidirectional follow.
`delay` | True | integer | 0 | Delay seconds before reacting to leader.

## Issues/Feature Requests

Please feel free to open any issues or feature requests!