Skip to content

Commit 831c651

Browse files
authored
Merge pull request #280 from sinricpro/2.10.0
2.10.0 - Push notifications
2 parents df305ba + 415ce55 commit 831c651

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ Example 1
119119
SinricPro["YOUR-DOORBELL-ID-HERE"].as<SinricProDoorbell>().sendDoorbellEvent();
120120
```
121121

122+
## How to send a push notification?
123+
```C++
124+
SinricProSwitch& mySwitch = SinricPro[SWITCH_ID];
125+
mySwitch.sendPushNotification("Hello SinricPro!");
126+
```
122127

123128
---
124129

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Changelog
2+
3+
## Version 2.10.0
4+
- Feature: Push Notification.
5+
26
## Version 2.9.17
37
- Fixed: Case sensivitiy include [#251](https://github.com/sinricpro/esp8266-esp32-sdk/issues/251)
48
- Fixed: platformio.ini example [#252](https://github.com/sinricpro/esp8266-esp32-sdk/issues/252)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"maintainer": true
1414
}
1515
],
16-
"version": "2.9.17",
16+
"version": "2.10.0",
1717
"frameworks": "arduino",
1818
"platforms": [
1919
"espressif8266",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SinricPro
2-
version=2.9.17
2+
version=2.10.0
33
author=Boris Jaeger <sivar2311@gmail.com>
44
maintainer=Boris Jaeger <sivar2311@gmail.com>
55
sentence=Library for https://sinric.pro - simple way to connect your device to alexa

0 commit comments

Comments
 (0)