MCPcopy Index your code

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

Functions338 in github.com/FaserF/ha-db_infoscreen

Method__init__
(self)
tests/test_docs_links.py:22
Method__init__
(self, **kwargs)
tests/conftest.py:79
Method__init__
( self, hass, logger, *, name,
tests/conftest.py:103
Method__init__
(self, coordinator, config_entry=None)
tests/conftest.py:140
Method__init_subclass__
(cls, **kwargs)
tests/conftest.py:72
Method__missing__
(self, key)
custom_components/db_infoscreen/sensor.py:287
Method__setattr__
(self, name, value)
tests/conftest.py:144
Method_async_update_data
(self)
tests/conftest.py:120
Function_create_entry_side_effect
(**kwargs)
tests/test_config_flow_search.py:33
Method_handle_coordinator_update
Handle updated data from the coordinator.
custom_components/db_infoscreen/binary_sensor.py:288
Method_handle_coordinator_update
(self)
tests/conftest.py:157
Function_show_form_side_effect
(**kwargs)
tests/test_config_flow_search.py:24
Functionas_local
Return local datetime.
tests/conftest.py:244
Functionasync_add_executor_job
(target, *args, **kwargs)
tests/conftest.py:380
Methodasync_added_to_hass
(self)
custom_components/db_infoscreen/sensor.py:317
Methodasync_added_to_hass
Handle entity which will be added.
custom_components/db_infoscreen/binary_sensor.py:283
Methodasync_added_to_hass
(self)
tests/conftest.py:160
Functionasync_create_fix_flow
Create flow to fix a repairs issue.
custom_components/db_infoscreen/repairs.py:145
Functionasync_enter
(*args, **kwargs)
tests/conftest.py:296
Functionasync_exit
(*args, **kwargs)
tests/conftest.py:299
Methodasync_get_events
Return calendar events within a datetime range.
custom_components/db_infoscreen/calendar.py:62
Methodasync_get_options_flow
Return the options flow handler.
custom_components/db_infoscreen/config_flow.py:879
Functionasync_migrate_entry
Migrate old entry from version 1 to 2.
custom_components/db_infoscreen/__init__.py:327
Functionasync_refresh_departures
Handle the refresh_departures service call.
custom_components/db_infoscreen/__init__.py:192
Functionasync_set_offset
Handle the set_offset service call to dynamically adjust time offset.
custom_components/db_infoscreen/__init__.py:207
Functionasync_set_paused
Handle the set_paused service call to toggle periodic updates.
custom_components/db_infoscreen/__init__.py:267
Functionasync_setup_entry
Set up the DB Infoscreen calendar platform.
custom_components/db_infoscreen/calendar.py:22
Functionasync_setup_entry
Set up DB Infoscreen from a config entry. Initializes the data coordinator, registers services (watch_train, track_connection), and sets
custom_components/db_infoscreen/__init__.py:92
Functionasync_setup_entry
Set up the DB Infoscreen binary sensor platform.
custom_components/db_infoscreen/binary_sensor.py:24
Methodasync_step_advanced_options
Handle advanced options.
custom_components/db_infoscreen/config_flow.py:1331
Methodasync_step_display_options
Handle display options.
custom_components/db_infoscreen/config_flow.py:1290
Methodasync_step_filter_options
Handle filter options.
custom_components/db_infoscreen/config_flow.py:1228
Methodasync_step_finish
Finish and save the options.
custom_components/db_infoscreen/config_flow.py:1434
Methodasync_step_general_options
Handle general options.
custom_components/db_infoscreen/config_flow.py:1063
Methodasync_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:168
Methodasync_step_init
Handle the initial step - offer to retry or change settings.
custom_components/db_infoscreen/repairs.py:187
Methodasync_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:231
Methodasync_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:301
Methodasync_step_server_options
Handle server configuration options.
custom_components/db_infoscreen/config_flow.py:1125
Functionasync_track_connection
Handle the track_connection service call.
custom_components/db_infoscreen/__init__.py:159
Functionasync_unload_entry
Unload a config entry. Unloads all platforms and removes the coordinator from hass.data.
custom_components/db_infoscreen/__init__.py:369
Methodasync_update
(self)
custom_components/db_infoscreen/sensor.py:314
Functionasync_watch_train
Handle the watch_train service call.
custom_components/db_infoscreen/__init__.py:119
Methodasync_will_remove_from_hass
(self)
tests/conftest.py:163
Functionauto_enable_socket
Automatically enable socket for every test in this module.
tests/test_live_api.py:41
Methodavailable
Return True if entity is available.
custom_components/db_infoscreen/entity.py:36
Functionclear_all_issues_for_entry
Clear all repair issues related to a specific config entry.
custom_components/db_infoscreen/repairs.py:134
Functionclear_cache
Clear the global RESPONSE_CACHE between tests.
tests/test_coordinator.py:42
Functionclear_cache
()
tests/test_pause_updates.py:27
Functionclear_cache
Clear the global RESPONSE_CACHE between tests.
tests/test_deduplication.py:17
Functionclear_cache
Clear the RESPONSE_CACHE before each test.
tests/conftest.py:402
Functionconfig_flow_path
Return the path to config_flow.py.
tests/test_translations.py:48
Functioncreate_api_error_issue
Create a repair issue for persistent API errors.
custom_components/db_infoscreen/repairs.py:63
Functioncreate_connection_error_issue
Create a repair issue for connection errors (self-healing).
custom_components/db_infoscreen/repairs.py:109
Functioncreate_stale_data_issue
Create a repair issue for stale data (not updated for 24+ hours).
custom_components/db_infoscreen/repairs.py:40
Functioncreate_station_unsupported_issue
Create a repair issue when station may no longer be supported by the backend.
custom_components/db_infoscreen/repairs.py:86
Functionde_path
Return the path to de.json.
tests/test_translations.py:42
Functiondelete_issue
Delete a repair issue when the problem is resolved.
custom_components/db_infoscreen/repairs.py:129
Methoddevice_info
Return device info.
custom_components/db_infoscreen/entity.py:24
Functionen_path
Return the path to en.json.
tests/test_translations.py:36
Functionenable_custom_integrations
Enable custom integrations and prevent frame helper errors.
tests/conftest.py:329
Methodevent
Return the next upcoming event.
custom_components/db_infoscreen/calendar.py:52
Methodextra_state_attributes
Return additional state attributes for the sensor including next departures and metadata.
custom_components/db_infoscreen/sensor.py:210
Methodextra_state_attributes
Return details about the watched trip.
custom_components/db_infoscreen/sensor.py:386
Methodextra_state_attributes
(self)
custom_components/db_infoscreen/sensor.py:533
Methodextra_state_attributes
(self)
custom_components/db_infoscreen/sensor.py:588
Methodextra_state_attributes
Return additional attributes about delays.
custom_components/db_infoscreen/binary_sensor.py:108
Methodextra_state_attributes
Return additional attributes about cancellations.
custom_components/db_infoscreen/binary_sensor.py:167
Methodextra_state_attributes
Return connection details.
custom_components/db_infoscreen/binary_sensor.py:216
Methodextra_state_attributes
Return details about elevator issues.
custom_components/db_infoscreen/binary_sensor.py:354
Methodextra_state_attributes
(self)
tests/conftest.py:167
Methodformat_sectors
(sectors: set)
custom_components/db_infoscreen/__init__.py:658
Functionget_all_markdown_files
Get all markdown files in the project.
tests/test_docs_formatting.py:9
Functionget_side_effect
(url, **kwargs)
tests/common.py:27
Functionhass
Mock Hass fixture.
tests/conftest.py:353
Methodis_on
Return True if any train is delayed.
custom_components/db_infoscreen/binary_sensor.py:93
Methodis_on
Return True if any train is cancelled.
custom_components/db_infoscreen/binary_sensor.py:156
Methodis_on
Return True if connection is healthy.
custom_components/db_infoscreen/binary_sensor.py:207
Methodis_on
Return True if updates are paused.
custom_components/db_infoscreen/binary_sensor.py:245
Methodis_on
Return True if a relevant issue is found.
custom_components/db_infoscreen/binary_sensor.py:294
Functionlive_coordinator_fixture
Fixture to provide a coordinator connected to the live API, or skip if down.
tests/test_live_api.py:72
Functionmock_config_entry
()
tests/test_binary_sensor.py:16
Functionmock_config_entry
Create a mock config entry.
tests/test_coordinator.py:52
Functionmock_config_entry
()
tests/test_sensor.py:8
Functionmock_config_entry
Create a mock config entry.
tests/test_stability.py:16
Functionmock_config_entry
()
tests/test_feature_updates.py:11
Functionmock_config_entry
()
tests/test_messages_and_facilities.py:10
Functionmock_config_entry
()
tests/test_text_sensor_fix.py:8
Functionmock_config_entry
()
tests/test_leave_alarm_fix.py:8
Functionmock_config_entry
()
tests/test_pause_updates.py:36
Functionmock_config_entry
Create a mock config entry.
tests/test_deduplication.py:27
Functionmock_coordinator
()
tests/test_binary_sensor.py:9
Functionmock_coordinator
()
tests/test_leave_alarm.py:10
Functionmock_coordinator
(mock_config_entry)
tests/test_sensor.py:18
Functionmock_coordinator
(mock_config_entry)
tests/test_messages_and_facilities.py:20
Functionmock_coordinator
()
tests/test_statistics.py:10
Functionmock_coordinator
(hass)
tests/test_services.py:7
Functionmock_get_integration_frame
(*args, **kwargs)
tests/conftest.py:335
Functionmock_hass_autocomplete
Mock Hass for autocomplete tests.
tests/test_autocomplete.py:13
Functionmock_setup_entry
Mock async_setup_entry fixture.
tests/conftest.py:391
← previousnext →101–200 of 338, ranked by callers