a4eb975b595a5bf0a41f6a39b0cd6b9c01970e06,homeassistant/remote.py,,connect_remote_events,#Any#Any#,289
Before Change
data = {"host": to_api.host, "api_password": to_api.api_password}
if to_api.port is not None:
data["port"] = to_api.port
try:
from_api(METHOD_POST, URL_API_EVENT_FORWARD, data)
After Change
return False
except ha.HomeAssistantError:
_LOGGER.exception("Error setting up event forwarding")
return False
def disconnect_remote_events(from_api, to_api):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: home-assistant/home-assistant
Commit Name: a4eb975b595a5bf0a41f6a39b0cd6b9c01970e06
Time: 2014-11-28
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/remote.py
Class Name:
Method Name: connect_remote_events
Project Name: ray-project/ray
Commit Name: 85197deece837a1f4ffdbbffb72af6028a9b6e32
Time: 2020-11-11
Author: ameerh@berkeley.edu
File Name: python/ray/autoscaler/_private/resource_demand_scheduler.py
Class Name: ResourceDemandScheduler
Method Name: _infer_legacy_node_resources_if_needed
Project Name: home-assistant/home-assistant
Commit Name: a4eb975b595a5bf0a41f6a39b0cd6b9c01970e06
Time: 2014-11-28
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/remote.py
Class Name:
Method Name: disconnect_remote_events