diff --git a/README.md b/README.md index ce87cd6..81d087d 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,11 @@ Example 1 SinricPro["YOUR-DOORBELL-ID-HERE"].as().sendDoorbellEvent(); ``` +## How to send a push notification? +```C++ +SinricProSwitch& mySwitch = SinricPro[SWITCH_ID]; +mySwitch.sendPushNotification("Hello SinricPro!"); +``` --- diff --git a/changelog.md b/changelog.md index 01329f5..47ffc8d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,8 @@ # Changelog + +## Version 2.10.0 +- Feature: Push Notification. + ## Version 2.9.17 - Fixed: Case sensivitiy include [#251](https://github.com/sinricpro/esp8266-esp32-sdk/issues/251) - Fixed: platformio.ini example [#252](https://github.com/sinricpro/esp8266-esp32-sdk/issues/252) diff --git a/library.json b/library.json index 8ee3055..59acab0 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "maintainer": true } ], - "version": "2.9.17", + "version": "2.10.0", "frameworks": "arduino", "platforms": [ "espressif8266", diff --git a/library.properties b/library.properties index 357444f..02c066c 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SinricPro -version=2.9.17 +version=2.10.0 author=Boris Jaeger maintainer=Boris Jaeger sentence=Library for https://sinric.pro - simple way to connect your device to alexa