review comments

This commit is contained in:
Marcel van der Veldt
2025-05-26 22:09:51 +02:00
parent d16f08847e
commit b8978784d3
2 changed files with 2 additions and 3 deletions

View File

@@ -39,7 +39,6 @@ class MusicAssistantFavoriteButton(MusicAssistantEntity, ButtonEntity):
entity_description = ButtonEntityDescription(
key="favorite_now_playing",
translation_key="favorite_now_playing",
icon="mdi:heart",
)
@property

View File

@@ -4,7 +4,7 @@ from unittest.mock import MagicMock, call
from syrupy.assertion import SnapshotAssertion
from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN
from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS
from homeassistant.const import ATTR_ENTITY_ID, Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers import entity_registry as er
@@ -34,7 +34,7 @@ async def test_button_press_action(
assert state
await hass.services.async_call(
BUTTON_DOMAIN,
"press",
SERVICE_PRESS,
{
ATTR_ENTITY_ID: entity_id,
},