https://github.com/starbuck93/hass_slack_status
Home Assistant custom_component for setting a user's Slack Status
https://github.com/starbuck93/hass_slack_status
home-assistant home-automation python3 slack
Last synced: about 2 months ago
JSON representation
Home Assistant custom_component for setting a user's Slack Status
- Host: GitHub
- URL: https://github.com/starbuck93/hass_slack_status
- Owner: starbuck93
- License: gpl-3.0
- Created: 2018-07-24T20:02:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T21:46:06.000Z (almost 8 years ago)
- Last Synced: 2025-10-10T06:16:24.545Z (9 months ago)
- Topics: home-assistant, home-automation, python3, slack
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## This is not functional yet. It is an IDEA... a Work in Progress!
But here's how I want it to work:
-----------------
Set up the service in configuration.yaml:
```
slack_status:
bearer_token: !secret bearer_token
```
Get a bearer token from https://api.slack.com/apps?new_app=1 and set at least the users.profile:write Permission Scope
You can use the service in an automation, for example:
```
automation:
trigger:
platform: state
entity_id: device_tracker.paulus, device_tracker.anne_therese
from: 'not_home'
to: 'home'
action:
- service: slack_status.set_status
data:
text: "At Home"
emoji: ":house:"
- service: light.turn_on
data:
brightness: 150
rgb_color: [255, 0, 0]
entity_id:
- light.kitchen
- light.living_room
```