Skip to content

Commit

Permalink
missed a )
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveNeudoerffer committed Jan 22, 2021
1 parent c081143 commit 523e75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AoGSmartHome_Items.pm
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ sub set_state {
my $mh_object = ::get_object_by_name($realname);
return undef if !defined $mh_object;

if ( $mh_object->can('is_dimmable' && $mh_object->is_dimmable && $state =~ /\d+/ ) {
if ( $mh_object->can('is_dimmable') && $mh_object->is_dimmable && $state =~ /\d+/ ) {
$state = $state . '%';
}

Expand Down

0 comments on commit 523e75d

Please sign in to comment.