mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-31 23:10:05 +02:00
Optimized the process of fetching release notes in the Mikrotik Router integration by utilizing the existing HTTP client session from Home Assistant's aiohttp_client. This change avoids creating a new session for each request, leading to more efficient resource usage and potentially reducing the likelihood of encountering issues related to session management. By leveraging `async_get_clientsession`, the update component now aligns better with Home Assistant's recommended practices for external HTTP requests, ensuring consistency and reliability in how network calls are made within integrations. |
||
---|---|---|
.. | ||
translations | ||
__init__.py | ||
apiparser.py | ||
binary_sensor.py | ||
binary_sensor_types.py | ||
button.py | ||
button_types.py | ||
config_flow.py | ||
const.py | ||
coordinator.py | ||
device_tracker.py | ||
device_tracker_types.py | ||
diagnostics.py | ||
entity.py | ||
exceptions.py | ||
helper.py | ||
manifest.json | ||
mikrotikapi.py | ||
sensor.py | ||
sensor_types.py | ||
services.yaml | ||
strings.json | ||
switch.py | ||
switch_types.py | ||
update.py | ||
update_types.py |