Jan Bouwhuis
879144b48d
MQTT rework constants ( #57529 )
...
* reference CONF_TOPIC to .const
* Organize common mqtt constants
2021-10-12 11:26:38 +02:00
posixx
547ede1e91
Implementation of new Vacation mode for MQTT-based alarm panels ( #53561 )
...
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* Impelentation of new Vacation Mode for MQTT-based alarm panels
* Fixed typo
* another typo fix
* Split integrations: remove manual_mqtt
* added newline
* missing abbreviation
* Fix tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-24 13:22:49 +02:00
Erik Montnemery
91b4f7d1d5
Filter MQTT alarm JSON attributes ( #52278 )
2021-06-29 10:32:23 +02:00
jan iversen
9410aefd0d
Integrations m*: Rename HomeAssistantType to HomeAssistant. ( #49567 )
2021-04-22 14:53:37 -07:00
Kristian Heljas
9e487eb260
Hoist mqtt name property and add icon support to MqttEntity ( #47165 )
...
* hoist common MqttEntity properties
* remove default name for MqttEntity
Default naming is sensible enough
* disable overriding common MqttEntity schema
* merge common MqttEntity schemas into MQTT_ENTITY_COMMON_SCHEMA
2021-03-11 13:42:13 +01:00
tkdrob
b85ecc0bd2
Use core constants for mqtt ( #46389 )
2021-02-11 13:38:33 +01:00
Erik Montnemery
248802efd5
Add MQTT base entity ( #44971 )
2021-01-09 17:46:53 +01:00
Erik Montnemery
6dd6d9b368
Deduplicate MQTT entity discovery code ( #44970 )
2021-01-09 14:37:33 +01:00
Erik Montnemery
b85efd343f
Move MQTT entity helpers to separate file ( #44838 )
...
* Move MQTT entity helpers to separate file
* Fix imports
* Update MQTT number
* Review comments
* Fix formatting
2021-01-09 00:47:17 +01:00
Erik Montnemery
34bd70aee6
Fix race when handling MQTT discovery messages ( #44730 )
...
* Fix race when handling MQTT discovery messages
* Lint
* retrigger checks
2021-01-04 12:28:17 +01:00
Erik Montnemery
97edbaa85f
Small cleanup of MQTT ( #44110 )
...
* Use relative imports of mqtt component in mqtt platforms
* Correct parameters to _async_setup_entity
* Lint
2020-12-10 21:30:07 +01:00
Franck Nijhof
0e98bc5ea2
Skip template result parsing in several places ( #42408 )
...
* Skip template result parsing in several places
* Adjust alert integration
* Adjust Alexa integration
* Adjust apns integration
* Adjust arest integration
* Adjust dialogflow integration
* Adjust generic camera integration
* Adjust imap email content integration
* Adjust InfluxDB integration
* Adjust intent integration
* Adjust logbook integration
* Adjust HP ILO integration
* Adjust manual alarm control panel integration
* Adjust manual mqtt alarm control panel integration
* Adjust minio integration
* Adjust mqtt integration
* Adjust notify integration
* Adjust persistent notification integration
* Adjust rest integration
* Adjust rss feed template integration
* Adjust slack integration
* Adjust Xiaomi integration
* Adjust TCP integration
* Adjust Telegram Bot integration
* Bump CI cache version
* Revert "Bump CI cache version"
This reverts commit 875efe58cf
.
* Adjust demo tests
2020-10-26 19:29:10 +01:00
Erik Montnemery
4d6e694d14
Fix discovery update of MQTT state templates ( #39901 )
2020-09-10 20:52:23 +02:00
J. Nick Koston
65e53b8251
Support reloading mqtt yaml configuration ( #39531 )
2020-09-02 20:16:21 -05:00
Michaël Arnauts
d7d7ee6524
Use global CONF_UNIQUE_ID for mqtt ( #38595 )
...
* Use global CONF_UNIQUE_ID for mqtt
* Update __init__.py
* Update __init__.py
* Update __init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 16:00:14 -05:00
Erik Montnemery
6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity ( #34590 )
2020-04-25 18:05:28 +02:00
Jevgeni Kiski
a1aebe904e
Add MQTT Alarm Control Panel custom bypass state ( #32541 )
...
* MQTT Alarm Control Panel to have all available states
* MQTT Alarm Control Panel to have all available states
* test_arm_custom_bypass_* tests added
* MQTT payload_arm_custom_bypass abbreviation
2020-04-06 11:45:37 +02:00
Erik Montnemery
fbd197146a
Add MQTT debug info for remaining MQTT integrations ( #33506 )
2020-04-01 11:48:32 -07: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
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Kevin Cooper
f722a6c08d
Add code_arm_required to manual alarm with MQTT ( #22641 )
...
* add code_arm_requited to manual-mqtt alarm
* Add fix for alarm front end more-info-alarm_control_panel
* Fix code mistake
2019-06-17 14:49:10 -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
439197ea3e
Use dict[key] for required config keys and keys with default values. ( #22828 )
2019-04-07 10:08:04 -04:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Kevin Cooper
4b9e3258dc
Add command_template and value_template for MQTT alarm ( #21438 )
...
* Option to send pin code with the MQTT payload for MQTT alarm
* publish code via json
Add publish code via json
add code_disarm_required
* publish code via json
Add publish code via json
add code_disarm_required
* implemented command_template
* Fix issue with night arm and add template test
* implemented value_template for mqtt alarm
* Fixed merge errors
* Requested changes
* Resolve lint errors
* Resolve hound issues
* Fix test formatting
2019-03-30 07:36:10 +01:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07: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
Marco M
05333f60d7
Fix missing code_required check in async_alarm_arm_night ( #21858 )
...
* Fix missing code_required check in async_alarm_arm_night
* Remove double code validation
Test added
2019-03-10 14:25:01 +01:00
Marco M
c3d4738649
Mqtt alarm added value_template and code_arm_required ( #19558 )
...
* Added value_template config for parsing json value from state topic
Added arm_code_required to avoid code enter when arming
* Renamed config parameter to code_arm_required
* Fix for discovery update compatibility
* Fixed lint error
* Added test
2019-02-28 17:44:23 +01:00
Ryan Wagoner
62b2b23d0b
Add night arm mode to MQTT alarm control panel ( #20961 )
...
* Add night arm mode to MQTT alarm control panel
* Add unit test for MQTT alarm night mode
2019-02-13 22:52:32 +01:00
emontnemery
89fc3b2a1b
Disable extra=vol.ALLOW_EXTRA for MQTT platforms. ( #20562 )
2019-01-29 09:29:02 -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
85c72fbca6
Update device registry of MQTT alarm ( #20439 )
2019-01-26 10:48:35 -08:00
Daniel Høyer Iversen
1bd31e3459
Change STATE_UNKOWN to None ( #20337 )
...
* Change STATE_UNKOWN to None
* Change STATE_UNKOWN to None
* tests
* tests
* tests
* tests
* tests
* style
* fix comments
* fix comments
* update fan test
2019-01-24 08:20:20 +01:00
emontnemery
3fcbcd5a38
Add JSON attribute topic to MQTT alarm ( #20238 )
2019-01-20 16:42:56 -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