Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
remove 'control' supported feature until HA 2024.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Shulyaka committed Jul 25, 2024
1 parent a64b864 commit c413193
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions custom_components/anthropic/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ def __init__(self, entry: AnthropicConfigEntry) -> None:
model="Claude",
entry_type=dr.DeviceEntryType.SERVICE,
)
if self.entry.options.get(CONF_LLM_HASS_API):
self._attr_supported_features = (
conversation.ConversationEntityFeature.CONTROL
)

@property
def supported_languages(self) -> list[str] | Literal["*"]:
Expand Down
5 changes: 0 additions & 5 deletions tests/test_conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ async def test_entity(
"""Test entity properties."""
state = hass.states.get("conversation.claude")
assert state
assert state.attributes["supported_features"] == 0

hass.config_entries.async_update_entry(
mock_config_entry,
Expand All @@ -47,10 +46,6 @@ async def test_entity(

state = hass.states.get("conversation.claude")
assert state
assert (
state.attributes["supported_features"]
== conversation.ConversationEntityFeature.CONTROL
)


async def test_error_handling(
Expand Down

0 comments on commit c413193

Please sign in to comment.