diff --git a/2a/yaml/screek-humen-sensor-2a.yaml b/2a/yaml/screek-humen-sensor-2a.yaml index ddf8f6f..e39f2bd 100644 --- a/2a/yaml/screek-humen-sensor-2a.yaml +++ b/2a/yaml/screek-humen-sensor-2a.yaml @@ -329,7 +329,7 @@ uart: }else{ p3_speed = 0 - p3_speed; } - int16_t p3_distance_resolution = (uint16_t((bytes[19] << 8) | bytes[18] )); + int16_t p3_distance_resolution = (uint16_t((bytes[27] << 8) | bytes[26] )); id(target1_x).publish_state(p1_x); id(target1_y).publish_state(p1_y); @@ -353,4 +353,4 @@ button: - platform: factory_reset disabled_by_default: True name: Factory Reset - id: factory_reset_all \ No newline at end of file + id: factory_reset_all