57777ef79a
* 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. |
||
---|---|---|
.. | ||
__init__.py | ||
condition.py | ||
config_validation.py | ||
discovery.py | ||
entity.py | ||
entity_component.py | ||
event.py | ||
event_decorators.py | ||
location.py | ||
script.py | ||
service.py | ||
state.py | ||
template.py | ||
typing.py |