Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str method, str host, int|None port=None) |
| None | async_close_remote (self) |
| dict[str, Any]|None | async_device_info (self) |
| bool | async_is_on (self) |
| None | async_power_off (self) |
| None | async_request_app_list (self) |
| None | async_send_keys (self, list[str] keys) |
| str | async_try_connect (self) |
| bool | power_off_in_progress (self) |
| None | register_app_list_callback (self, Callable[[dict[str, str]], None] func) |
| None | register_reauth_callback (self, CALLBACK_TYPE func) |
| None | register_update_config_entry_callback (self, Callable[[Mapping[str, Any]], None] func) |
Static Public Member Functions | |
| SamsungTVBridge | get_bridge (HomeAssistant hass, str method, str host, int|None port=None, Mapping[str, Any]|None entry_data=None) |
Public Attributes | |
| hass | |
| host | |
| method | |
| port | |
Private Member Functions | |
| None | _async_send_power_off (self) |
| None | _notify_app_list_callback (self, dict[str, str] app_list) |
| None | _notify_reauth_callback (self) |
| None | _notify_update_config_entry (self, Mapping[str, Any] updates) |
Private Attributes | |
| _app_list_callback | |
| _end_of_power_off | |
| _reauth_callback | |
| _update_config_entry | |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | method, | ||
| str | host, | ||
| int | None | port = None |
||
| ) |
Initialize Bridge.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
|
private |
Send power off command.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
|
private |
|
private |
Notify access denied callback.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
|
private |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_close_remote | ( | self | ) |
Close remote object.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
| dict[str, Any] | None homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_device_info | ( | self | ) |
Try to gather infos of this TV.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
| bool homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_is_on | ( | self | ) |
Tells if the TV is on.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_power_off | ( | self | ) |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_request_app_list | ( | self | ) |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_send_keys | ( | self, | |
| list[str] | keys | ||
| ) |
Send a list of keys to the tv.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
| str homeassistant.components.samsungtv.bridge.SamsungTVBridge.async_try_connect | ( | self | ) |
Try to connect to the TV.
Reimplemented in homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.
|
static |
| bool homeassistant.components.samsungtv.bridge.SamsungTVBridge.power_off_in_progress | ( | self | ) |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.register_app_list_callback | ( | self, | |
| Callable[[dict[str, str]], None] | func | ||
| ) |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.register_reauth_callback | ( | self, | |
| CALLBACK_TYPE | func | ||
| ) |
| None homeassistant.components.samsungtv.bridge.SamsungTVBridge.register_update_config_entry_callback | ( | self, | |
| Callable[[Mapping[str, Any]], None] | func | ||
| ) |
|
private |
|
private |
|
private |
|
private |
| homeassistant.components.samsungtv.bridge.SamsungTVBridge.hass |
| homeassistant.components.samsungtv.bridge.SamsungTVBridge.host |
| homeassistant.components.samsungtv.bridge.SamsungTVBridge.method |
| homeassistant.components.samsungtv.bridge.SamsungTVBridge.port |