Skip to content

Commit

Permalink
Ensure that for control.basic messages the 'current' field is sent af…
Browse files Browse the repository at this point in the history
…ter the 'device' field for compatibility with devices that have limited processing power
  • Loading branch information
lievenhollevoet committed Jul 24, 2011
1 parent 6703d0a commit f8f4dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xPL_Items.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ sub new {
if ($p_type eq 'output') # define a default message to be sent out on a call to the "set" method
{
# the following can always be overwritten
$self->on_set_message('control.basic' => { 'current' => '$state' });
$self->on_set_message('control.basic' => { 'z##current' => '$state' });
}
}
else
Expand Down

0 comments on commit f8f4dc7

Please sign in to comment.