mirror of https://github.com/arendst/Tasmota.git
Fix shutter discovery message regression from v14.4.1 (#22730)
This commit is contained in:
parent
b5c326d772
commit
d5d757fd3d
|
@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
|
|||
### Changed
|
||||
|
||||
### Fixed
|
||||
- Shutter discovery message regression from v14.4.1 (#22730)
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -138,6 +138,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||
- HASPmota support for `tabview` [#22707](https://github.com/arendst/Tasmota/issues/22707)
|
||||
|
||||
### Fixed
|
||||
- Shutter discovery message regression from v14.4.1 [#22730](https://github.com/arendst/Tasmota/issues/22730)
|
||||
- Webcam compilation with `define USE_WEBCAM` but without `define ENABLE_RTSPSERVER` [#22686](https://github.com/arendst/Tasmota/issues/22686)
|
||||
- Berry Zigbee fix wrong attributes [#22684](https://github.com/arendst/Tasmota/issues/22684)
|
||||
- Berry walrus operator [#22685](https://github.com/arendst/Tasmota/issues/22685)
|
||||
|
|
|
@ -2383,7 +2383,7 @@ bool Xdrv27(uint32_t function)
|
|||
}
|
||||
break;
|
||||
case FUNC_JSON_APPEND:
|
||||
if (!ShutterGlobal.sensor_data_reported || TasmotaGlobal.tele_period == 0) {
|
||||
if (!ShutterGlobal.sensor_data_reported || TasmotaGlobal.tele_period != 2) {
|
||||
ShutterGlobal.sensor_data_reported = true;
|
||||
for (uint8_t i = 0; i < TasmotaGlobal.shutters_present; i++) {
|
||||
ResponseAppend_P(",");
|
||||
|
|
|
@ -1974,7 +1974,7 @@ bool Xdrv27(uint32_t function)
|
|||
}
|
||||
break;
|
||||
case FUNC_JSON_APPEND:
|
||||
if (!sensor_data_reported || TasmotaGlobal.tele_period == 0) {
|
||||
if (!sensor_data_reported || TasmotaGlobal.tele_period != 2) {
|
||||
sensor_data_reported = true;
|
||||
for (uint8_t i = 0; i < TasmotaGlobal.shutters_present; i++) {
|
||||
uint8_t position = ShutterRealToPercentPosition(Shutter[i].real_position, i);
|
||||
|
|
Loading…
Reference in New Issue