Remove scan_interval from transmission (#98858)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Rami Mosleh 2023-10-24 15:17:46 +03:00 committed by GitHub
parent 8cfb8cb084
commit fea15148a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 29 deletions

View file

@ -36,7 +36,7 @@ async def async_setup_entry(
config_entry.entry_id
]
dev = [
entities = [
TransmissionSpeedSensor(
coordinator,
"download_speed",
@ -79,7 +79,7 @@ async def async_setup_entry(
),
]
async_add_entities(dev, True)
async_add_entities(entities)
class TransmissionSensor(