MCPcopy Index your code

hub / github.com/FaserF/ha-db_infoscreen / functions

Functions338 in github.com/FaserF/ha-db_infoscreen

Functiontest_refresh_service
Test the refresh_departures service.
tests/test_feature_updates.py:70
Methodtest_rollover_new_month
(self, mock_git)
tests/test_version_manager.py:102
Methodtest_rollover_new_month_beta
(self, mock_git)
tests/test_version_manager.py:110
Functiontest_search_multiple_results
Test user input resulting in multiple matches, requiring selection.
tests/test_config_flow_search.py:103
Functiontest_search_single_result
Test user input resulting in a single unique match.
tests/test_config_flow_search.py:55
Functiontest_sensor_translation_keys
Test that all translation_keys used in sensors are in strings.json.
tests/test_translations.py:181
Functiontest_set_paused_service
Test the set_paused service.
tests/test_pause_updates.py:137
Functiontest_specific_user_reported_case
Verify specific formatting fix in limitations.md.
tests/test_docs_formatting.py:43
Methodtest_stable_to_beta
(self, mock_git)
tests/test_version_manager.py:62
Methodtest_stable_to_dev
(self, mock_git)
tests/test_version_manager.py:86
Methodtest_stable_to_stable
(self, mock_git)
tests/test_version_manager.py:54
Functiontest_station_messages_sensor_attribute
Test that the main sensor publishes consolidated station messages.
tests/test_messages_and_facilities.py:35
Functiontest_translation_schema_compliance
Strictly validate schema compliance against March 2026 hassfest rules.
tests/test_translations.py:317
Functiontest_translations_consistency
Test that all strings in strings.json are present in translations.
tests/test_translations.py:88
Functiontest_update_history_avv_line_field
Regression: AVV buses use 'line' instead of 'train'. Before the fix, dep.get("train") returned None for every AVV entry, causing the `no
tests/test_statistics.py:94
Functiontest_update_history_no_departure_timestamp
Regression: entries filtered early in the main loop never get departure_timestamp set. Before the fix they all produced history key "<tr
tests/test_statistics.py:143
Functiontest_update_history_raw_cancellation_fields
Regression: raw API cancellation field names (cancelled / isCancelled) must be recognised even when entries were filtered before the main loo
tests/test_statistics.py:188
Functiontest_via_logic_and_with_single_station_skips_server_side
Verify that using AND logic with one station still allows server-side optimization.
tests/test_via_stations_logic.py:226
Functiontest_via_multiple_stations_and_local_no_match
Test that AND logic excludes departures that don't match ALL via stations.
tests/test_via_stations_logic.py:141
Functiontest_via_multiple_stations_or_local
Test that multiple via stations use local OR filtering and no API param.
tests/test_via_stations_logic.py:86
Functiontest_via_single_station_no_route_fields
Test that a single via station still passes when departure has no via/route fields.
tests/test_via_stations_logic.py:51
Functiontest_via_single_station_server_side
Test that a single via station uses the API parameter.
tests/test_via_stations_logic.py:17
Functiontest_via_station_delimiter_mismatch
Test to demonstrate potential confusion with delimiters.
tests/test_options_flow_comprehensive.py:97
Functiontest_via_stations_different_fetch_urls
Verify that different via stations result in unique fetch URLs for caching.
tests/test_via_stations_logic.py:184
Functiontest_watch_train_cancellation
Test notification on cancellation.
tests/test_services.py:87
Functiontest_watch_train_no_double_notification
Test that we don't notify multiple times for the same delay.
tests/test_services.py:56
Functiontest_watch_train_notification_trigger
Test that a notification is triggered for a watched train.
tests/test_services.py:16
Functiontest_watchdog_no_data
(mock_coordinator, mock_config_entry)
tests/test_sensor.py:26
Functiontest_watchdog_no_route
(mock_coordinator, mock_config_entry)
tests/test_sensor.py:31
Functiontest_watchdog_on_time
(mock_coordinator, mock_config_entry)
tests/test_sensor.py:69
Functiontest_watchdog_station_not_found
(mock_coordinator, mock_config_entry)
tests/test_sensor.py:37
Functiontest_watchdog_valid_previous
(mock_coordinator, mock_config_entry)
tests/test_sensor.py:49
Functiontest_zero_update_interval
Test that update_interval is handled correctly when set to 0.
tests/test_feature_updates.py:53
Functiontranslations_path
Return the path to translations.
tests/test_translations.py:12
Functionupdate_listener
Handle options update.
custom_components/db_infoscreen/__init__.py:385
Functionutc_from_timestamp
Return UTC datetime from timestamp.
tests/conftest.py:251
Methodwalk_time
Get the walk time from config data or options.
custom_components/db_infoscreen/sensor.py:489
Methodweb_url
Return the human-readable DBF website URL (without .json).
custom_components/db_infoscreen/__init__.py:550
← previous301–338 of 338, ranked by callers