Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstrings in mobile app device tracker #97963

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions homeassistant/components/mobile_app/device_tracker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Device tracker platform that adds support for OwnTracks over MQTT."""
"""Device tracker for Mobile app."""
from homeassistant.components.device_tracker import (
ATTR_BATTERY,
ATTR_GPS,
Expand Down Expand Up @@ -35,7 +35,7 @@
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
) -> None:
"""Set up OwnTracks based off an entry."""
"""Set up Mobile app based off an entry."""
entity = MobileAppEntity(entry)
async_add_entities([entity])

Expand All @@ -44,7 +44,7 @@ class MobileAppEntity(TrackerEntity, RestoreEntity):
"""Represent a tracked device."""

def __init__(self, entry, data=None):
"""Set up OwnTracks entity."""
"""Set up Mobile app entity."""
self._entry = entry
self._data = data
self._dispatch_unsub = None
Expand Down