Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 3.5.3
New:
- `restoreDeviceStates` method has been deprecated. You can use Portal > Edit Device > Other > 'Restore Device State When Connect' instead

## Version 3.5.2
Fixed:
- Fix: Force OTA update does not work [#430](https://github.com/sinricpro/esp8266-esp32-sdk/issues/430)
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"homepage": "https://sinric.pro",
"version": "3.5.2",
"version": "3.5.3",
"frameworks": "arduino",
"platforms": ["espressif8266", "espressif32", "raspberrypi"],
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SinricPro
version=3.5.2
version=3.5.3
author=Boris Jaeger <sivar2311@gmail.com>
maintainer=Boris Jaeger <sivar2311@gmail.com>
sentence=Library for https://sinric.pro - simple way to connect your device to alexa
Expand Down
4 changes: 3 additions & 1 deletion src/SinricPro.h
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,11 @@ void SinricProClass::sendMessage(JsonDocument& jsonMessage) {
* For every state the corresponding callback (like `onPowerState`) will be called \n
* This is useful after a power failure / reboot of your device.
*
* @deprecated Device state restoration is now configured exclusively via the SinricPro Portal. Please go to **Portal → Edit Device → Other → Enable "Restore Device State When Connect"** instead.
*
* @param flag `true` = enabled \n `false`= disabled
**/
void SinricProClass::restoreDeviceStates(bool flag) {
__attribute__((deprecated("Use SinricPro Portal: Edit Device > Other > 'Restore Device State When Connect' instead"))) void SinricProClass::restoreDeviceStates(bool flag) {
_websocketListener.setRestoreDeviceStates(flag);
}

Expand Down
2 changes: 1 addition & 1 deletion src/SinricProVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Version Configuration
#define SINRICPRO_VERSION_MAJOR 3
#define SINRICPRO_VERSION_MINOR 5
#define SINRICPRO_VERSION_REVISION 2
#define SINRICPRO_VERSION_REVISION 3
#define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
#define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
#define SINRICPRO_VERISON_INT SINRICPRO_VERSION_MAJOR * 1000000 + SINRICPRO_VERSION_MINOR * 1000 + SINRICPRO_VERSION_REVISION