core/homeassistant/helpers
Eric Hagan 57777ef79a Adds support for Pioneer AVR interface port number (#3878)
* Adds support for Pioneer AVR interface port number

https://community.home-assistant.io/t/support-for-pioneer-avr/503
telnetlib supports a port number so adding port as
an optional config element with a default of 23 resolves this.

* Adds timeout to Pioneer AVR

timeout in telnetlib defaults to socket._GLOBAL_DEFAULT_TIMEOUT
which is not a value, but rather a bare Object used for comparison.

telnetlib says the following about the timeout optional argument:
"The optional timeout parameter specifies a timeout in seconds
 for blocking operations like the connection attempt (if not
 specified, the global default timeout setting will be used)."

From the documentation for sockets:
"Sockets are by default always created in blocking mode"

Catching connect and timeout errors, logging to debug
and continuing.

* Catches timeout exceptions, logs and continues.
2016-10-22 11:05:00 +02:00
..
__init__.py Filter out falsey platform configs 2016-09-24 00:03:44 -07:00
condition.py Make automation async 2016-10-01 14:11:16 -07:00
config_validation.py Adds support for Pioneer AVR interface port number (#3878) 2016-10-22 11:05:00 +02:00
discovery.py Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
entity.py Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
entity_component.py Async speedup add_device callback (#3910) 2016-10-17 00:35:57 +02:00
event.py Add async_safe annotation (#3688) 2016-10-04 20:44:32 -07:00
event_decorators.py Move unit system to util (#2763) 2016-08-08 20:42:25 -07:00
location.py Improvement typing (#2735) 2016-08-07 16:26:35 -07:00
script.py Resolve issue with delay not passing variables to render (#3901) 2016-10-16 16:08:12 -07:00
service.py Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
state.py Add open/closed state for open_cover and close_cover in SERVICE_TO_STATE (#3180) 2016-09-12 18:31:44 -07:00
template.py Use a filter to fail rendering undefined variables 2016-10-17 03:20:07 +02:00
typing.py Device tracker component & platform validation. No more home_range. (#2908) 2016-08-30 10:22:52 -06:00