Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str method, str host, int|None port) |
| None | async_close_remote (self) |
| dict[str, Any]|None | async_device_info (self) |
| bool | async_is_on (self) |
| None | async_send_keys (self, list[str] keys) |
| str | async_try_connect (self) |
Public Member Functions inherited from homeassistant.components.samsungtv.bridge.SamsungTVBridge | |
| None | async_power_off (self) |
| None | async_request_app_list (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) |
Public Attributes | |
| auth_failed | |
| config | |
Public Attributes inherited from homeassistant.components.samsungtv.bridge.SamsungTVBridge | |
| hass | |
| host | |
| method | |
| port | |
Private Member Functions | |
| None | _async_send_power_off (self) |
| None | _close_remote (self) |
| Remote | _get_remote (self) |
| bool | _is_on (self) |
| None | _notify_reauth_callback (self) |
| None | _send_key (self, str key) |
| str | _try_connect (self) |
Private Attributes | |
| _remote | |
Additional Inherited Members | |
Static Public Member Functions inherited from homeassistant.components.samsungtv.bridge.SamsungTVBridge | |
| SamsungTVBridge | get_bridge (HomeAssistant hass, str method, str host, int|None port=None, Mapping[str, Any]|None entry_data=None) |
| None homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | method, | ||
| str | host, | ||
| int | None | port | ||
| ) |
Initialize Bridge.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
|
private |
Send power off command to remote.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
|
private |
|
private |
|
private |
|
private |
Notify access denied callback.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
|
private |
|
private |
| None homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.async_close_remote | ( | self | ) |
Close remote object.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
| dict[str, Any] | None homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.async_device_info | ( | self | ) |
Try to gather infos of this device.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
| bool homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.async_is_on | ( | self | ) |
Tells if the TV is on.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
| None homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.async_send_keys | ( | self, | |
| list[str] | keys | ||
| ) |
Send a list of keys using legacy protocol.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
| str homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.async_try_connect | ( | self | ) |
Try to connect to the Legacy TV.
Reimplemented from homeassistant.components.samsungtv.bridge.SamsungTVBridge.
|
private |
| homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.auth_failed |
| homeassistant.components.samsungtv.bridge.SamsungTVLegacyBridge.config |