Marc Mueller
887d04be60
Use assignment expressions 32 ( #58716 )
2021-10-30 16:30:13 +02:00
Erik Montnemery
0456a896e3
Avoid service call in MQTT async_publish function ( #58441 )
...
* Avoid service call in MQTT async_publish function
* Tweak
* Fix integrations + tests
2021-10-28 08:13:32 +02:00
Erik Montnemery
640a7fee9d
Allow extra keys in MQTT discovery messages ( #58390 )
...
* Allow extra keys in MQTT discovery messages
* Remove extra keys
2021-10-25 13:47:06 +02:00
Franck Nijhof
027e167d95
Add support for unit of measurement in MQTT number platform ( #58343 )
2021-10-25 09:44:43 +02:00
Jan Bouwhuis
879144b48d
MQTT rework constants ( #57529 )
...
* reference CONF_TOPIC to .const
* Organize common mqtt constants
2021-10-12 11:26:38 +02:00
Erik Montnemery
7223c59e79
Allow resetting an MQTT number ( #57161 )
...
* Allow resetting an MQTT number
* Add abbreviation
2021-10-07 13:54:34 +02:00
Erik Montnemery
71a0e474cc
Filter MQTT number JSON attributes ( #52286 )
2021-06-29 11:16:57 +02:00
Erik Montnemery
e14480599b
Add value_template support to MQTT number ( #52155 )
2021-06-28 10:23:34 +02:00
Erik Montnemery
77de233679
Update MQTT number to treat received payload as UTF-8 ( #52121 )
...
* Update MQTT number to treat received payload as UTF-8
* Lint
2021-06-23 15:35:18 +02:00
Shay Levy
6e087039f4
Add min/max/step to MQTT number ( #50869 )
2021-05-21 18:35:27 +03: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
Erik Montnemery
959181a2e9
Make MQTT number respect retain setting ( #47270 )
2021-03-02 14:28:31 +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
Diogo Gomes
e3c1281616
Add MQTT Number (non optimistic) ( #44883 )
...
* non optimistic
* test restored state
* ups
* review
* Ensure the entity is not in optimistic mode
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-01-08 23:43:14 +01:00
Diogo Gomes
f18880686c
Add MQTT Number ( #44739 )
...
* Initial Commit
* initial commit
* add discovery and tests
* increase coverage
* address review
* catchup with reality
2021-01-06 08:27:46 +01:00