mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-26 07:38:30 +02:00
Fix HttpRequestResponseTrigger again (#4285)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> fixes https://github.com/esphome/issues/issues/4010
This commit is contained in:
@@ -31,9 +31,9 @@ struct Header {
|
||||
const char *value;
|
||||
};
|
||||
|
||||
class HttpRequestResponseTrigger : public Trigger<int, uint32_t> {
|
||||
class HttpRequestResponseTrigger : public Trigger<int32_t, uint32_t> {
|
||||
public:
|
||||
void process(int status_code, uint32_t duration_ms) { this->trigger(status_code, duration_ms); }
|
||||
void process(int32_t status_code, uint32_t duration_ms) { this->trigger(status_code, duration_ms); }
|
||||
};
|
||||
|
||||
class HttpRequestComponent : public Component {
|
||||
|
||||
Reference in New Issue
Block a user