This is what I get from the logs:
2017-09-04 17:31:04 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py”, line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File “/usr/lib/python3.4/asyncio/tasks.py”, line 372, in wait_for
return fut.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/switch/broadlink.py”, line 142, in setup_platform
broadlink_device.auth()
File “/home/pi/.homeassistant/deps/lib/python3.4/site-packages/broadlink/init.py”, line 203, in auth
response = self.send_packet(0x65, payload)
File “/home/pi/.homeassistant/deps/lib/python3.4/site-packages/broadlink/init.py”, line 277, in send_packet
self.cs.sendto(packet, self.host)
socket.gaierror: [Errno -2] Name or service not known