Skip to content

Commit

Permalink
Merge pull request #2517 from Misiu/mega
Browse files Browse the repository at this point in the history
Rename OpenHAB MQTT to Home Assistant (openHAB) MQTT
  • Loading branch information
TD-er authored Aug 2, 2019
2 parents 5675d0c + 2e885f4 commit 33b9804
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/source/Controller/_controller_substitutions.repl
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
.. |C004_maintainer| replace:: `.`
.. |C004_compileinfo| replace:: `.`

.. |C005_name| replace:: :cyan:`OpenHAB MQTT`
.. |C005_name| replace:: :cyan:`Home Assistant (openHAB) MQTT`
.. |C005_type| replace:: :cyan:`Controller`
.. |C005_typename| replace:: :cyan:`Controller - OpenHAB MQTT`
.. |C005_typename| replace:: :cyan:`Controller - Home Assistant (openHAB) MQTT`
.. |C005_status| replace:: :green:`NORMAL`
.. |C005_github| replace:: C005.ino
.. _C005_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C005.ino
Expand Down
2 changes: 1 addition & 1 deletion src/ESPEasy-Globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void check_size() {
// 2 = Domoticz MQTT
// 3 = Nodo Telnet
// 4 = ThingSpeak
// 5 = OpenHAB MQTT
// 5 = Home Assistant (openHAB) MQTT
// 6 = PiDome MQTT
// 7 = EmonCMS
// 8 = Generic HTTP
Expand Down
8 changes: 4 additions & 4 deletions src/_C005.ino
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifdef USES_C005
//#######################################################################################################
//########################### Controller Plugin 005: OpenHAB MQTT #######################################
//################### Controller Plugin 005: Home Assistant (openHAB) MQTT ##############################
//#######################################################################################################

#define CPLUGIN_005
#define CPLUGIN_ID_005 5
#define CPLUGIN_NAME_005 "OpenHAB MQTT"
#define CPLUGIN_NAME_005 "Home Assistant (openHAB) MQTT"

bool CPlugin_005(byte function, struct EventStruct *event, String& string)
{
Expand Down Expand Up @@ -41,8 +41,8 @@ bool CPlugin_005(byte function, struct EventStruct *event, String& string)

case CPLUGIN_PROTOCOL_TEMPLATE:
{
event->String1 = F("/%sysname%/#");
event->String2 = F("/%sysname%/%tskname%/%valname%");
event->String1 = F("%sysname%/#");
event->String2 = F("%sysname%/%tskname%/%valname%");
break;
}

Expand Down
4 changes: 2 additions & 2 deletions src/define_plugin_sets.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ To create/register a plugin, you have to :

#define USES_C001 // Domoticz HTTP
#define USES_C002 // Domoticz MQTT
#define USES_C005 // OpenHAB MQTT
#define USES_C005 // Home Assistant (openHAB) MQTT
// #define USES_C006 // PiDome MQTT
#define USES_C008 // Generic HTTP
#define USES_C009 // FHEM HTTP
Expand Down Expand Up @@ -571,7 +571,7 @@ To create/register a plugin, you have to :
#define USES_C002 // Domoticz MQTT
#define USES_C003 // Nodo telnet
#define USES_C004 // ThingSpeak
#define USES_C005 // OpenHAB MQTT
#define USES_C005 // Home Assistant (openHAB) MQTT
#define USES_C006 // PiDome MQTT
#define USES_C007 // Emoncms
#define USES_C008 // Generic HTTP
Expand Down

0 comments on commit 33b9804

Please sign in to comment.