The documentation for the 'opening' class of binary_sensor left the
interpretation of On and Off undefined. Additionally, the intro paragraph
claimed that "On" is "Closed" and "Off" is "Open" which is the opposite of
common usage that I've seen in example configurations.
This commit explicitly states that On==Open and Off=Closed and amends the
examples in the leading paragraph.
Confirmed in Gitter chat that this is appropriate:
@balloob: "I would assume that “on” is open as it’s the special case.
Assuming doors/windows etc are usually closed.
With smoke, detecting smoke is the special case"
The rain and night conditions are binary sensors and can not be used in the main Bloomsky sensor component. I have removed them from this list and added a note referring people to the BloomSky binary sensor component.
This is the error if you provide http://IP_ADDRESS as the example shows.
```ERROR:homeassistant.components.switch:Error while setting up platform tplink
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/switch/tplink.py", line 40, in setup_platform
add_devices([SmartPlugSwitch(SmartPlug(host), name)], True)
File "/home/ged/.homeassistant/deps/pyHS100/pyHS100.py", line 78, in __init__
socket.inet_pton(socket.AF_INET, ip_address)
OSError: illegal IP address string passed to inet_pton```