Skip to content

Commit 415ce55

Browse files
committed
2.10.0 - version updated. example added
1 parent f229c9c commit 415ce55

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
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: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# Changelog
22

3-
## Version 2.9.18
3+
## Version 2.10.0
44
- Feature: Push Notification.
55

6-
```C++
7-
SinricProSwitch& mySwitch = SinricPro[SWITCH_ID];
8-
mySwitch.sendPushNotification("Hello SinricPro!");
9-
```
10-
116
## Version 2.9.17
127
- Fixed: Case sensivitiy include [#251](https://github.com/sinricpro/esp8266-esp32-sdk/issues/251)
138
- 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.18",
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.18
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)