mirror of
https://github.com/esphome/esphome.git
synced 2025-10-18 09:43:47 +01:00
Add trigger for http actions to receive the status code (#1599)
This commit is contained in:
@@ -49,6 +49,12 @@ esphome:
|
||||
Content-Type: application/json
|
||||
body: 'Some data'
|
||||
verify_ssl: false
|
||||
on_response:
|
||||
then:
|
||||
- logger.log:
|
||||
format: 'Response status: %d'
|
||||
args:
|
||||
- status_code
|
||||
build_path: build/test1
|
||||
|
||||
packages:
|
||||
|
Reference in New Issue
Block a user