Pieter Goetschalckx
02a36a9b68
Add min_mireds and max_mireds to MQTT Light ( #32613 )
...
* Add min_mireds and max_mireds to MQTT Light
* Add abbreviations for min_mireds and max_mireds
* Add tests for min_mireds and max_mireds
2020-05-10 09:34:48 +02:00
Erik Montnemery
f9b420a5a5
Make sure MQTT light brightness is not rounded to 0 ( #35207 )
2020-05-04 15:54:49 -07:00
Michael Bisbjerg
e7fc886992
Simplify MQTT light brightness logic ( #35097 )
2020-05-03 18:48:24 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity ( #34593 )
2020-04-26 18:49:41 +02:00
Erik Montnemery
fbd197146a
Add MQTT debug info for remaining MQTT integrations ( #33506 )
2020-04-01 11:48:32 -07:00
Erik Montnemery
52a4c16980
Improve MQTT light test coverage ( #32907 )
2020-03-17 18:29:12 -05:00
springstan
ba0aaeeddb
Use f-strings in integrations starting with "M" ( #32271 )
...
* Use f-strings in integrations starting with "M"
* Format mqtt light init with black
* Fix lint error
* Fix pylint error
* Restore constants
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Update homeassistant/components/mqtt/discovery.py
* Format with Black
2020-03-10 23:34:54 +01:00
Erik Montnemery
7e387f93d6
Add MQTT WS command to remove device ( #31989 )
...
* Add MQTT WS command to remove device
* Review comments, fix test
* Fix tests
2020-02-24 20:46:02 -08:00
Ville Skyttä
9b2544c923
Remove some unneeded pylint suppressions ( #32152 )
2020-02-24 16:47:15 -08:00
springstan
1ee7c483a7
Update file headers and outdated documentation links ( #32022 )
...
* Update documentation links
* Update file headers v2
2020-02-20 15:29:46 -08:00
Bas Nijholt
aeff27680b
use isort to sort imports according to PEP8 for light ( #29648 )
2019-12-08 22:46:23 +05:30
Malte Franken
1a5b4c105a
Move imports in mqtt component ( #27835 )
...
* move imports to top-level in mqtt server
* move imports to top-level in mqtt configflow
* move imports to top-level in mqtt init
* move imports to top-level in mqtt vacuum
* move imports to top-level in mqtt light
2019-10-17 17:04:27 -07:00
starkillerOG
2acd3f9e98
Allow MQTT json light floating point transition ( #27253 )
...
* MQTT json light: allow floating point transition
Allow to use floating point values for the transition time of the MQTT json light.
In this way transitions shorter than 1s can be used (0.5 seconds for instance) if the MQTT light supports it.
* Always sent a float
2019-10-13 20:29:14 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Erik Montnemery
bc5f0ff0b3
Use dict[key] for required config keys and keys with default values of MQTT light ( #22834 )
...
* Use dict[key] for required config keys and keys with default values.
* Improve tests
* Lint
* Improve tests of JSON data
2019-04-10 11:16:41 +02:00
emontnemery
5957e4b75b
Pass Message object to MQTT message callbacks ( #21959 )
...
* Pass Message object to MQTT message callbacks
* Improve method of detecting deprecated msg callback
* Fix mysensors
* Fixup
* Review comments
* Fix merge error
2019-03-13 12:58:20 -07:00
emontnemery
ce1fe06193
Write state directly in all MQTT platforms ( #21971 )
2019-03-12 14:46:48 -07:00
emontnemery
89fc3b2a1b
Disable extra=vol.ALLOW_EXTRA for MQTT platforms. ( #20562 )
2019-01-29 09:29:02 -08:00
emontnemery
3ee3acd550
Update device registry of MQTT light ( #20441 )
...
* Update device registry of MQTT light
* Move config_entry to constructor
2019-01-28 19:45:34 -08:00
emontnemery
648adcc708
Small cleanup of MQTT platforms ( #20503 )
...
* Move CONF_UNIQUE_ID to init
* Sort imports
* Update ordering
2019-01-27 18:54:52 +01:00
emontnemery
d84cd01cbf
Cleanup if discovered mqtt light can't be added ( #19740 )
...
* Cleanup if discovered mqtt light can't be added
* No bare except
* Clear ALREADY_DISCOVERED list with helper
* Use constant instead of string literal
2019-01-24 22:40:52 -08:00
emontnemery
234f348ba1
Add JSON attribute topic to MQTT light ( #20191 )
2019-01-17 10:54:22 -08:00
emontnemery
0ec1401be7
Minor refactoring of MQTT availability ( #20136 )
...
* Small refactor of MQTT availability
* Use dict[key] for required config keys and keys with default values.
2019-01-15 14:26:37 -08:00
emontnemery
5b53bd6aa0
Move MQTT platforms under the component ( #20050 )
...
* Move MQTT platforms under the component
2019-01-15 17:31:06 +01:00