Skip to content

Commit

Permalink
Merge pull request #899 from hplato/yeelight
Browse files Browse the repository at this point in the history
Added depreciation notice.
  • Loading branch information
hplato authored Aug 31, 2024
2 parents 4d1e817 + f3b36a5 commit 05e4a9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Yeelight.pm
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@ sub print_info {
my $name = $self->{data}->{info}->{name};
$name = "Not Set" if ($self->{data}->{info}->{name} eq "");

main::print_log( "[Yeelight:" . $self->{name} . "] *******************************************************" );
main::print_log( "[Yeelight:" . $self->{name} . "] * Note: Yeelight.pm is now depreciated in favour *");
main::print_log( "[Yeelight:" . $self->{name} . "] * of using Home Assistant for device access *" );
main::print_log( "[Yeelight:" . $self->{name} . "] *******************************************************" );
main::print_log( "[Yeelight:" . $self->{name} . "] Name: " . $name );
main::print_log( "[Yeelight:" . $self->{name} . "] Model: " . $self->{data}->{info}->{model} );
main::print_log( "[Yeelight:" . $self->{name} . "] Firmware: " . $self->{data}->{info}->{fw_ver} );
Expand Down

0 comments on commit 05e4a9a

Please sign in to comment.