Files
esphome-dev/esphome
Andrew Zaborowski da390d32f8 Move stop/is_running implementation to Action base class
Try to fix issue #1105.  Until now if an UpdateComponentAction, a
LambdaAction, or any action that can contain those inside their
"else" or "then" action lists, resulted in a call to script.stop on
the script that contains them, the script would continue running,
because they didn't implement a stop() method.  Basically only
the asynchronous ones did: DelayAction, WaitUntilAction and
ScriptWaitAction.

With this change num_running_ in Action replaces
DelayAction::num_running_ and WaitUntilAction::triggered_ to provide
the same is_running logic to other actions.
2020-05-01 12:44:30 +02:00
..
2019-12-07 18:28:55 +01:00
2020-04-29 10:04:05 -03:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2020-04-05 22:14:49 -03:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00