Deprecate event forwarding
This commit is contained in:
1 parent
97b9d3bd21
commit
e94aa3afe9
2 files changed
+11
No files matched your search
@@ -327,6 +327,8 @@ class APIEventForwardingView(HomeAssistantView):
|
||||
@asyncio.coroutine
|
||||
def post(self, request):
|
||||
"""Setup an event forwarder."""
|
||||
_LOGGER.warning('Event forwarding is deprecated. '
|
||||
'Will be removed by 0.43')
|
||||
hass = request.app['hass']
|
||||
try:
|
||||
data = yield from request.json()
|
||||
|
||||
Reference in new issue
Block a user