Skip to content

Commit

Permalink
also remove space befor ',' during parsing of mht files
Browse files Browse the repository at this point in the history
my HA_items did not update because of an additional space between the ha_entity and the following ','
  • Loading branch information
Tobias Sachs committed Dec 7, 2024
1 parent 566059a commit bf4d7f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/read_table_A.pl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sub read_table_A {
$other, $vcommand, $occupancy, $network,
$password, $interface, $additional_code
);
my (@item_info) = split( ',\s*', $record );
my (@item_info) = split( '\s*,\s*', $record );
my $type = uc shift @item_info;

# -[ ZWave ]----------------------------------------------------------
Expand Down

0 comments on commit bf4d7f5

Please sign in to comment.