From 5923595cda12a3dd8243a3650ac58f82926c20e0 Mon Sep 17 00:00:00 2001 From: Kevin Ahrendt Date: Thu, 17 Oct 2024 12:13:36 -0400 Subject: [PATCH] Bugfix: save and publish the given volume, not the bounded volume (#166) --- esphome/components/nabu/nabu_media_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/nabu/nabu_media_player.cpp b/esphome/components/nabu/nabu_media_player.cpp index ebb9ba2e..21f25984 100644 --- a/esphome/components/nabu/nabu_media_player.cpp +++ b/esphome/components/nabu/nabu_media_player.cpp @@ -466,7 +466,7 @@ void NabuMediaPlayer::set_volume_(float volume, bool publish) { } if (publish) { - this->volume = bounded_volume; + this->volume = volume; this->save_volume_restore_state_(); }