Skip to content

Upgrade matrix-client to 0.0.6#6808

Merged
fabaff merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-matrix-client
Mar 27, 2017
Merged

Upgrade matrix-client to 0.0.6#6808
fabaff merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-matrix-client

Conversation

@fabaff
Copy link
Copy Markdown
Member

@fabaff fabaff commented Mar 27, 2017

0.0.6

MatrixClient:

  • Add get/add/delete endpoints for tags
  • Add account_data global and room specific endpoints
  • Add methods for setting the room name and topic
  • Add methods for getting and setting room aliases
  • Add logout functionality
  • Send audio/video methods
  • Add support for sending location events
  • Add support for ephemeral events
  • Add support for sending html formatted messages
  • Allow setting a displayname & avatar for a user per-room.

API:

  • Retry requests on ratelimit.
  • Get room id from alias
  • Get membership event of a user from a room.
  • Add get_filter, create_filter methods to api

Tested with the following configuration:

notify:
  - platform: matrix
    name: matrix
    homeserver: https://matrix.org
    username: !secret matrix_user
    password: !secret matrix_password
    default_room: "#the-room:matrix.org"

Message sent with "Call Service"

{"message": "The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!"}

@mention-bot
Copy link
Copy Markdown

@fabaff, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @rmkraus and @robbiet480 to be potential reviewers.

@fabaff fabaff merged commit be04ef7 into home-assistant:dev Mar 27, 2017
@fabaff fabaff deleted the upgrade-matrix-client branch March 27, 2017 08:35
@fabaff fabaff mentioned this pull request Apr 6, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants