Deprecate event forwarding

This commit is contained in:
Paulus Schoutsen committed 2017-03-15 08:38:26 -07:00
1 parent 97b9d3bd21
commit e94aa3afe9
2 files changed
+11

No files matched your search

+2
View File
@@ -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()