Jan Bouwhuis
4991f1a693
Use super() in mqtt siren init ( #65291 )
2022-01-31 13:16:45 +01:00
Jan Bouwhuis
6fdaec0847
Add MQTT siren platform ( #64440 )
...
* Add mqtt siren draft
* fix tests
* Intergrate notify platform
* tests and fixes siren platform
* Add tests notify platform
* config parameters and abbreviations
* remove duplicate key
* undo move topic abbreviation
* Move const CONF_MESSAGE_COMMAND_TEMPLATE
* Remove notify service integration
* Rework
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Publish JSON by default
* Allow unknown state - rename value_template
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-31 10:31:57 +01:00
Jan Bouwhuis
bfaada34e2
Allow `unknown` state to be set ( #65183 )
2022-01-31 10:25:08 +01:00
GitHub Action
ca7d4234e1
[ci skip] Translation update
2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee
[ci skip] Translation update
2022-01-30 00:14:21 +00:00
Jan Bouwhuis
0cabf3e577
Fix MQTT climate action null warnings ( #64658 )
2022-01-27 08:41:27 +01:00
GitHub Action
dd4e5bb9c5
[ci skip] Translation update
2022-01-27 00:14:02 +00:00
epenet
78e92d1662
Adjust pylint plugin to enforce platform type hints ( #64836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
Jan Bouwhuis
efe5b0ca81
Add command template for MQTT button ( #63838 )
...
* Add command template for MQTT button
* Move CONF_COMMAND_TEMPLATE
2022-01-23 12:48:41 +01:00
GitHub Action
47d3fb1dec
[ci skip] Translation update
2022-01-23 00:13:53 +00:00
GitHub Action
9098c71cd4
[ci skip] Translation update
2022-01-22 00:13:08 +00:00
Jan Bouwhuis
7ea8d72133
Move CONF_COMMAND_TEMPLATE to .const ( #64558 )
2022-01-20 16:15:26 +01:00
Jan Bouwhuis
8b30751839
MQTT Remove unused and not tested code ( #64550 )
2022-01-20 13:47:46 +01:00
GitHub Action
04a2227f4b
[ci skip] Translation update
2022-01-19 00:13:35 +00:00
GitHub Action
c6d481ca01
[ci skip] Translation update
2022-01-17 00:14:48 +00:00
Marc Mueller
67c35652f0
Update typing - collections.abc (2) ( #63934 )
2022-01-12 09:04:37 +01:00
Jan Bouwhuis
65deaa1daf
Always send hvac_mode deprecate send_if_off ( #63814 )
2022-01-11 17:12:48 +01:00
Jan Bouwhuis
aa73e5bd72
Fix MQTT climate optimistic preset modes ( #63463 )
...
* Always publish when preset_mode is set
* Revert "Fixed isort error"
This reverts commit 1a3c5e6460
.
* isort
2022-01-11 17:08:26 +01:00
GitHub Action
d3cd813c5e
[ci skip] Translation update
2022-01-11 00:14:57 +00:00
Orce MARINKOVSKI
b78e22e012
Update MQTT light schema template ( #62759 )
...
* shema template update
* tests to cover the additional template variables
* fix flake8: too many blank lines
* Update schema_template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-10 09:57:56 +01:00
Marc Mueller
945b67c5c5
Fix 3rd party imports ( #63455 )
2022-01-05 19:00:47 +01:00
Marc Mueller
ae6d9c229e
Use const imports [l-z] ( #63469 )
2022-01-05 18:21:20 +01:00
Marc Mueller
b168a8c7d0
Use imports from `helpers.typing` ( #63459 )
2022-01-05 14:56:34 +01:00
Erik Montnemery
d8e7236502
Cleanup handling of unsupported config keys in MQTT fan ( #62681 )
...
* Cleanup handling of unsupported config keys in MQTT fan
* Update fan.py
2022-01-03 17:54:03 +01:00
Erik Montnemery
1995a825f3
Reject MQTT light discovery using unsupported value_template ( #62682 )
...
* Reject MQTT light discovery using unsupported value_template
* Tweak
2022-01-03 17:16:26 +01:00
Jan Bouwhuis
dd0193052c
Add MQTT encoding parameter for all subscribed topics ( #62263 )
...
* Add encoding parameter for all subscribable topics
* test setup encoding incoming payload
* remove support for device_tracker and tag+tests
2022-01-03 16:08:07 +01:00
Jan Bouwhuis
3ca18922e6
Mqtt rework on value templates ( #62105 )
...
* add MqttValueTemplate class
* support variables at initiation
* pass MqttEntity instead of hass
* Use MqttValueTemplace class for value templates
* make hass en enitity parameters conditional
* remove unused property and remove None assignment
* rename self._attr_value_template
2022-01-03 16:07:40 +01:00
Jan Bouwhuis
061ce0c187
Fix mqtt reloading and rework tests ( #62950 )
...
* Improve mqtt reloading/tests and fix issues
* Cleanup fixture for reloading test
* isort and black remove replaced test_reloadable
2022-01-03 15:14:50 +01:00
Jan Bouwhuis
0dab5e69db
Fix MQTT cover not using tilt_command_template ( #63080 )
2022-01-03 15:13:30 +01:00
Jan Bouwhuis
457ce195dd
Add mqtt entity attributes command templates ( #61937 )
...
* Add entity variables to MqttCommandTemplate
* missing command template update
* make hass and entity conditional parameters
* Add encoding support for publishing
* Revert "Add encoding support for publishing"
This reverts commit b69b9c60ec
.
2022-01-03 15:10:15 +01:00
Jan Bouwhuis
d0c4f0fec4
Add mqtt encoding support for publishing ( #62739 )
...
* encoding support for mqtt publishing - todo tests
* signature allows None values for qos and retain
* common test for mqtt publishing encoding
* better test with command templates
* more tests
* fix tests alarm control panel+tests light basic
* tests light json and template
* add tests vacuum and fix tests light_template
2022-01-03 09:03:47 +01:00
epenet
2cc4d9846b
Add basic type hints to mqtt ( #62875 )
...
* Add basic type hints to mqtt
* Add hints to async_setup_platform
* Add type hint to async_setup_entry
* Fix pylint
* Set correct argument order in climate entity
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 08:53:52 +01:00
GitHub Action
ea0b24a5f0
[ci skip] Translation update
2022-01-03 00:14:23 +00:00
epenet
20150daf1e
Fix incorrect parameter name/hint in mqtt climate ( #63106 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:06:17 +01:00
epenet
33e926371f
Add init type hints [m] ( #63189 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:28:14 +01:00
Sebastian Lövdahl
d18f1cc872
Use Platform constants all over the place 2/3 ( #62953 )
2021-12-28 21:23:07 +01:00
epenet
8cc0df7b72
Ensure service calls are typed [k-n] ( #62917 )
...
* Ensure service calls are typed [k-n]
* Ensure service calls are typed in mazda
* Adjust mazda
* Add mazda comment
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:33:08 +01:00
Dave T
8fd60dbd51
Refactor entity_category str types ( #62790 )
2021-12-27 18:23:08 +01:00
GitHub Action
8c8c7e91a2
[ci skip] Translation update
2021-12-25 00:13:29 +00:00
Erik Montnemery
c1ada1754f
Reject MQTT cover discovery using unsupported tilt_invert_state ( #62680 )
2021-12-23 17:05:52 +01:00
GitHub Action
babd753610
[ci skip] Translation update
2021-12-21 00:15:06 +00:00
epenet
079b7f217f
Use new enums in mqtt ( #61936 )
...
* Use new enums in mqtt
* Fix typo
2021-12-16 15:09:31 +01:00
Jan Bouwhuis
d5defa8995
Support publishing MQTT messages with raw bytes payloads ( #61090 )
...
* correctly publish mqtt ouput
* Additional tests
* Add template test with binary output
* render_outgoing_payload with command templates
* use MqttCommandTemplate helper class
* add tests command_template
* Additional tests
* support pass-through for MqttComandTemplate
* fix bugs
* unify workform always initiate with hass
* clean up
* remove not needed lines
* comment not adding value
2021-12-15 11:28:43 +01:00
GitHub Action
eb345bfdf1
[ci skip] Translation update
2021-12-14 00:13:33 +00:00
epenet
da7c5f4722
Break long lines in discovery_info ( #61431 )
2021-12-10 12:48:47 +01:00
epenet
c05eca1c82
Remove log flooding prevention logic from discovery info ( #61243 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:28:26 -10:00
GitHub Action
5258c5fc9c
[ci skip] Translation update
2021-12-07 00:51:52 +00:00
GitHub Action
ecdb18eb0a
[ci skip] Translation update
2021-12-06 00:13:37 +00:00
epenet
b65b25c1bb
Move MqttServiceInfo to init.py ( #60905 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 19:34:48 +01:00
epenet
358922db56
Use dataclass for HassioServiceInfo ( #60824 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00