core/homeassistant/components/mqtt
Kyle Niewiada a5a926bcc6 Raise ConfigEntryNotReady for MQTT connection exception (#22540)
* Raise ConfigEntryNotReady for connection exception

Raise ConfigEntryNotReady for the connection exception like if the MQTT Server container/device is being restarted or was unavailable on boot.

* Add new exception

* grammar fix

* Possibly resolve hound comments

* raise `ConfigEntryNotReady` for mqtt connection error

* revert exceptions.py

* Update exceptions.py

* modify test to handle exception

* use constants to control exception scope

* Raise ConfigEntryNotReady for connection exception

Raise ConfigEntryNotReady for the connection exception like if the MQTT Server container/device is being restarted or was unavailable on boot.

* Add new exception

* Add new exception

* grammar fix

* Possibly resolve hound comments

* raise `ConfigEntryNotReady` for mqtt connection error

* revert exceptions.py

* Update exceptions.py

* modify test to handle exception

* use constants to control exception scope

* revert test change as it's not the same thing

* Update test_init.py

* Add test for MQTT OSError

* revert file changes from a bad rebase

* Rewrite test with valid syntax

* rewrite test to be less ambiguous

* add empty line

* add back 'axis'

* Remove empty line

* Update tests and undo merge from earlier

* correctly restore test for no connect broker

* fix test mock correctly

* line was too long. hit enter.
2019-04-03 21:51:01 -07:00
..
.translations Update translations 2019-03-21 12:57:20 -07:00
light Pass Message object to MQTT message callbacks (#21959) 2019-03-13 12:58:20 -07:00
__init__.py Raise ConfigEntryNotReady for MQTT connection exception (#22540) 2019-04-03 21:51:01 -07:00
addtrustexternalcaroot.crt
alarm_control_panel.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
binary_sensor.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
camera.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
climate.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
config_flow.py Small cleanup of MQTT platforms (#20503) 2019-01-27 18:54:52 +01:00
const.py
cover.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
device_tracker.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
discovery.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
fan.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
lock.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
manifest.json Add manifests (#22699) 2019-04-03 21:14:45 -07:00
sensor.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
server.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
services.yaml
strings.json Add Hass.io discovery to MQTT (#16962) 2018-10-01 14:11:21 +02:00
subscription.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
switch.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00
vacuum.py Clean up docstrings (#22679) 2019-04-03 17:40:03 +02:00