core/tests/components/nextbus
Ian 3e8d3083ac
Refactor NextBus integration to use new API (#121133)
* Refactor NextBus integration to use new API

This removes the `messages`, `directions`, and `attribution` attributes
from the sensor. Those may be added back in the future with additional
refactoring.

Some existing sensors may be broken today because of deprecated Agency
names. This patch will not migrate them as the migration path is
ambiguous. Setting up again should work though.

* Move result indexing outside of try/except
2024-07-24 18:18:21 +02:00
..
__init__.py
conftest.py Refactor NextBus integration to use new API (#121133) 2024-07-24 18:18:21 +02:00
test_config_flow.py Refactor NextBus integration to use new API (#121133) 2024-07-24 18:18:21 +02:00
test_sensor.py Refactor NextBus integration to use new API (#121133) 2024-07-24 18:18:21 +02:00
test_util.py