Update pulse_meter.rst (#3518)

fix action in example
This commit is contained in:
attilioscot 2024-01-06 08:29:14 +01:00 committed by GitHub
parent 5cc4b67696
commit 3162638b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ trying to match.
variables: variables:
new_total: int new_total: int
then: then:
- pulse_counter.set_total_pulses: - pulse_meter.set_total_pulses:
id: sensor_pulse_meter id: sensor_pulse_meter
value: !lambda 'return new_total;' value: !lambda 'return new_total;'