This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
espurna-mirror
mirror of
https://github.com/xoseperez/espurna
Watch
1
Star
0
Fork
1
Code
Releases
71
Activity
Browse Source
ha: topic is always the same
pull/2561/head
Maxim Prokhorov
1 year ago
parent
9126a9832b
commit
0d8be5af99
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
code/espurna/homeassistant.cpp
+ 2
- 1
code/espurna/homeassistant.cpp
View File
@ -599,8 +599,9 @@ bool heartbeat(heartbeat::Mask mask) {
String
message
;
root
.
printTo
(
message
)
;
static
const
auto
topic
=
StringView
(
Topic
)
.
toString
(
)
;
mqttSendRaw
(
mqttTopic
(
T
opic
)
.
c_str
(
)
,
mqttTopic
(
t
opic
)
.
c_str
(
)
,
message
.
c_str
(
)
,
false
)
;
}
Write
Preview
Loading…
Cancel
Save