Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FaserF/ha-db_infoscreen
/ functions
Functions
338 in github.com/FaserF/ha-db_infoscreen
⨍
Functions
338
◇
Types & classes
29
↳
Endpoints
13
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
Function
as_local
Return local datetime.
tests/conftest.py:244
Function
async_add_executor_job
(target, *args, **kwargs)
tests/conftest.py:380
Method
async_added_to_hass
(self)
custom_components/db_infoscreen/sensor.py:317
Method
async_added_to_hass
Handle entity which will be added.
custom_components/db_infoscreen/binary_sensor.py:283
Method
async_added_to_hass
(self)
tests/conftest.py:160
Function
async_create_fix_flow
Create flow to fix a repairs issue.
custom_components/db_infoscreen/repairs.py:145
Function
async_enter
(*args, **kwargs)
tests/conftest.py:296
Function
async_exit
(*args, **kwargs)
tests/conftest.py:299
Method
async_get_events
Return calendar events within a datetime range.
custom_components/db_infoscreen/calendar.py:62
Method
async_get_options_flow
Return the options flow handler.
custom_components/db_infoscreen/config_flow.py:879
Function
async_migrate_entry
Migrate old entry from version 1 to 2.
custom_components/db_infoscreen/__init__.py:327
Function
async_refresh_departures
Handle the refresh_departures service call.
custom_components/db_infoscreen/__init__.py:192
Function
async_set_offset
Handle the set_offset service call to dynamically adjust time offset.
custom_components/db_infoscreen/__init__.py:207
Function
async_set_paused
Handle the set_paused service call to toggle periodic updates.
custom_components/db_infoscreen/__init__.py:267
Function
async_setup_entry
Set up the DB Infoscreen calendar platform.
custom_components/db_infoscreen/calendar.py:22
Function
async_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
Function
async_setup_entry
Set up the DB Infoscreen binary sensor platform.
custom_components/db_infoscreen/binary_sensor.py:24
Method
async_step_advanced_options
Handle advanced options.
custom_components/db_infoscreen/config_flow.py:1331
Method
async_step_display_options
Handle display options.
custom_components/db_infoscreen/config_flow.py:1290
Method
async_step_filter_options
Handle filter options.
custom_components/db_infoscreen/config_flow.py:1228
Method
async_step_finish
Finish and save the options.
custom_components/db_infoscreen/config_flow.py:1434
Method
async_step_general_options
Handle general options.
custom_components/db_infoscreen/config_flow.py:1063
Method
async_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:168
Method
async_step_init
Handle the initial step - offer to retry or change settings.
custom_components/db_infoscreen/repairs.py:187
Method
async_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:231
Method
async_step_init
Handle the initial step.
custom_components/db_infoscreen/repairs.py:301
Method
async_step_server_options
Handle server configuration options.
custom_components/db_infoscreen/config_flow.py:1125
Function
async_track_connection
Handle the track_connection service call.
custom_components/db_infoscreen/__init__.py:159
Function
async_unload_entry
Unload a config entry. Unloads all platforms and removes the coordinator from hass.data.
custom_components/db_infoscreen/__init__.py:369
Method
async_update
(self)
custom_components/db_infoscreen/sensor.py:314
Function
async_watch_train
Handle the watch_train service call.
custom_components/db_infoscreen/__init__.py:119
Method
async_will_remove_from_hass
(self)
tests/conftest.py:163
Function
auto_enable_socket
Automatically enable socket for every test in this module.
tests/test_live_api.py:41
Method
available
Return True if entity is available.
custom_components/db_infoscreen/entity.py:36
Function
clear_all_issues_for_entry
Clear all repair issues related to a specific config entry.
custom_components/db_infoscreen/repairs.py:134
Function
clear_cache
Clear the global RESPONSE_CACHE between tests.
tests/test_coordinator.py:42
Function
clear_cache
()
tests/test_pause_updates.py:27
Function
clear_cache
Clear the global RESPONSE_CACHE between tests.
tests/test_deduplication.py:17
Function
clear_cache
Clear the RESPONSE_CACHE before each test.
tests/conftest.py:402
Function
config_flow_path
Return the path to config_flow.py.
tests/test_translations.py:48
Function
create_api_error_issue
Create a repair issue for persistent API errors.
custom_components/db_infoscreen/repairs.py:63
Function
create_connection_error_issue
Create a repair issue for connection errors (self-healing).
custom_components/db_infoscreen/repairs.py:109
Function
create_stale_data_issue
Create a repair issue for stale data (not updated for 24+ hours).
custom_components/db_infoscreen/repairs.py:40
Function
create_station_unsupported_issue
Create a repair issue when station may no longer be supported by the backend.
custom_components/db_infoscreen/repairs.py:86
Function
de_path
Return the path to de.json.
tests/test_translations.py:42
Function
delete_issue
Delete a repair issue when the problem is resolved.
custom_components/db_infoscreen/repairs.py:129
Method
device_info
Return device info.
custom_components/db_infoscreen/entity.py:24
Function
en_path
Return the path to en.json.
tests/test_translations.py:36
Function
enable_custom_integrations
Enable custom integrations and prevent frame helper errors.
tests/conftest.py:329
Method
event
Return the next upcoming event.
custom_components/db_infoscreen/calendar.py:52
Method
extra_state_attributes
Return additional state attributes for the sensor including next departures and metadata.
custom_components/db_infoscreen/sensor.py:210
Method
extra_state_attributes
Return details about the watched trip.
custom_components/db_infoscreen/sensor.py:386
Method
extra_state_attributes
(self)
custom_components/db_infoscreen/sensor.py:533
Method
extra_state_attributes
(self)
custom_components/db_infoscreen/sensor.py:588
Method
extra_state_attributes
Return additional attributes about delays.
custom_components/db_infoscreen/binary_sensor.py:108
Method
extra_state_attributes
Return additional attributes about cancellations.
custom_components/db_infoscreen/binary_sensor.py:167
Method
extra_state_attributes
Return connection details.
custom_components/db_infoscreen/binary_sensor.py:216
Method
extra_state_attributes
Return details about elevator issues.
custom_components/db_infoscreen/binary_sensor.py:354
Method
extra_state_attributes
(self)
tests/conftest.py:167
Method
format_sectors
(sectors: set)
custom_components/db_infoscreen/__init__.py:658
Function
get_all_markdown_files
Get all markdown files in the project.
tests/test_docs_formatting.py:9
Function
get_side_effect
(url, **kwargs)
tests/common.py:27
Function
hass
Mock Hass fixture.
tests/conftest.py:353
Method
is_on
Return True if any train is delayed.
custom_components/db_infoscreen/binary_sensor.py:93
Method
is_on
Return True if any train is cancelled.
custom_components/db_infoscreen/binary_sensor.py:156
Method
is_on
Return True if connection is healthy.
custom_components/db_infoscreen/binary_sensor.py:207
Method
is_on
Return True if updates are paused.
custom_components/db_infoscreen/binary_sensor.py:245
Method
is_on
Return True if a relevant issue is found.
custom_components/db_infoscreen/binary_sensor.py:294
Function
live_coordinator_fixture
Fixture to provide a coordinator connected to the live API, or skip if down.
tests/test_live_api.py:72
Function
mock_config_entry
()
tests/test_binary_sensor.py:16
Function
mock_config_entry
Create a mock config entry.
tests/test_coordinator.py:52
Function
mock_config_entry
()
tests/test_sensor.py:8
Function
mock_config_entry
Create a mock config entry.
tests/test_stability.py:16
Function
mock_config_entry
()
tests/test_feature_updates.py:11
Function
mock_config_entry
()
tests/test_messages_and_facilities.py:10
Function
mock_config_entry
()
tests/test_text_sensor_fix.py:8
Function
mock_config_entry
()
tests/test_leave_alarm_fix.py:8
Function
mock_config_entry
()
tests/test_pause_updates.py:36
Function
mock_config_entry
Create a mock config entry.
tests/test_deduplication.py:27
Function
mock_coordinator
()
tests/test_binary_sensor.py:9
Function
mock_coordinator
()
tests/test_leave_alarm.py:10
Function
mock_coordinator
(mock_config_entry)
tests/test_sensor.py:18
Function
mock_coordinator
(mock_config_entry)
tests/test_messages_and_facilities.py:20
Function
mock_coordinator
()
tests/test_statistics.py:10
Function
mock_coordinator
(hass)
tests/test_services.py:7
Function
mock_get_integration_frame
(*args, **kwargs)
tests/conftest.py:335
Function
mock_hass_autocomplete
Mock Hass for autocomplete tests.
tests/test_autocomplete.py:13
Function
mock_setup_entry
Mock async_setup_entry fixture.
tests/conftest.py:391
← previous
next →
101–200 of 338, ranked by callers