Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@GeorgeSG GeorgeSG released this 28 Nov 20:38
· 4 commits to master since this release

Overview

  • Add huddle attributes to sensor attributes (Implements #8)
  • Add services to set and end DND (Implements #6)
  • Add status_expiration_ts to sensor attributes (Implements #9)

New attributes

status_expiration_ts: number

status_emoji_display_info:
  emoji_name: string
  display_url: string
  unicode: string

huddle_state: string
huddle_state_expiration_ts: number

New services

slack_user.set_presence

Required API scope: users:write
API Method: users.setPresence

Updates the user's presence.

Field Value Necessity Description
entity_id sensor.slack_user Required Name(s) of the sensor entities
presence auto or away Required New presence

slack_user.set_dnd

Required API scope: dnd:write
API Method: dnd.setSnooze

Enables DND for the user.

Field Value Necessity Description
entity_id sensor.slack_user Required Name(s) of the sensor entities
num_minutes number Required Number of minutes to be in DND

slack_user.end_dnd

Required API scope: dnd:write
API Method: dnd.endSnooze

Disables DND for the user.

Field Value Necessity Description
entity_id sensor.slack_user Required Name(s) of the sensor entities