Open
Description
-
There is a small typo on line 203 of Tasmota_HTTP_Item.pm which throws an error if using async mode, it should read
$self->send_cmd($cmd);
and not
$self->send_cmnd($cmd); -
It changes the set_by value to 'process item' if you use the async mode, making debugging much more difficult. I got around this by adding
$self->{this_set_by} = $set_by;
at the beginning of the set subroutine and
in process_check changing
#$self->SUPER::set( $state, "process item") unless (lc $state eq lc $self->state());
to
$self->SUPER::set( $state, $self->{this_set_by}) unless (lc $state eq lc $self->state());
Metadata
Metadata
Assignees
Labels
No labels