Skip to content

Commit

Permalink
Remove defaults for entity model, name and manufacturer (#170)
Browse files Browse the repository at this point in the history
* Ensure that model is a string

Using an AwesomeVersion object for this leads to errors when Home
Assistant adds the device to its registry.

* Do not set name, model, or manufacturer
  • Loading branch information
sleiner authored Jul 8, 2024
1 parent e792651 commit b66efc6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/integration_blueprint/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@ def __init__(self, coordinator: BlueprintDataUpdateCoordinator) -> None:
coordinator.config_entry.entry_id,
),
},
name=coordinator.config_entry.runtime_data.integration.name,
model=coordinator.config_entry.runtime_data.integration.version,
manufacturer=coordinator.config_entry.runtime_data.integration.name,
)

0 comments on commit b66efc6

Please sign in to comment.