Add MQTT availability template and encoding (#60470)

* Add MQTT availability template and encoding

* use generic encoding field

* pylint and cleanup

* remove additional topic check
This commit is contained in:
Jan Bouwhuis 2021-12-02 10:21:31 +01:00 committed by GitHub
parent 42bae5439b
commit 3307e54363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 119 additions and 2 deletions

View file

@ -10,6 +10,7 @@ ABBREVIATIONS = {
"avty": "availability",
"avty_mode": "availability_mode",
"avty_t": "availability_topic",
"avty_tpl": "availability_template",
"away_mode_cmd_t": "away_mode_command_topic",
"away_mode_stat_tpl": "away_mode_state_template",
"away_mode_stat_t": "away_mode_state_topic",