8000 GitHub - starbuck93/hass_slack_status: Home Assistant custom_component for setting a user's Slack Status
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

starbuck93/hass_slack_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Home Assistant custom_component for setting a user's Slack Status

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0