Manual trigger entity fix name influence entity_id (#97398)

This commit is contained in:
G Johansson 2023-07-30 18:47:34 +02:00 committed by GitHub
parent 2b4387f7c2
commit 1f11ce63fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View file

@ -157,7 +157,6 @@ class ScrapeSensor(
"""Initialize a web scrape sensor."""
CoordinatorEntity.__init__(self, coordinator)
ManualTriggerEntity.__init__(self, hass, trigger_entity_config)
self._attr_name = trigger_entity_config[CONF_NAME].template
self._attr_native_unit_of_measurement = unit_of_measurement
self._attr_state_class = state_class
self._select = select