Add logger.log action (#198)
* Add logger.log Action * Simple schema * Validate printf * Improve error message * Undo unfix tests :)
This commit is contained in:
1 parent
8c5d12df51
commit
8bbfbc4cc1
4 files changed
+83
-6
No files matched your search
@@ -193,6 +193,11 @@ sensor:
|
||||
on_raw_value:
|
||||
- lambda: >-
|
||||
ESP_LOGD("main", "Got raw value %f", x);
|
||||
- logger.log:
|
||||
level: DEBUG
|
||||
format: "Got raw value %f"
|
||||
args: ['x']
|
||||
- logger.log: "Got raw value NAN"
|
||||
- mqtt.publish:
|
||||
topic: some/topic
|
||||
payload: Hello
|
||||
|
||||
Reference in new issue
Block a user