The document presents a method to improve energy efficiency in wireless sensor networks (WSNs) using learning automata for data transmission route selection. This approach optimizes energy use by evaluating nodes based on their energy parameters and proximity to the sink, allowing for dynamic route adjustments that prevent premature energy depletion and enhance network longevity. Simulation results indicate that the proposed algorithm effectively increases the remaining energy and overall lifespan of the network.