mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-06-03 16:44:11 +02:00
fix json
This commit is contained in:
parent
c276b7536a
commit
8222795e7c
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ async fn send_update(
|
|||
QoS::AtLeastOnce,
|
||||
false,
|
||||
format!(
|
||||
r#"{{"state_topic": "wifi-exporter/{mac}/state", "name": "Wifi device {mac}", " payload_available": "connected", " payload_not_available": "disconnected", "unique_id": "wifi-{mac}}}"#,
|
||||
r#"{{"state_topic": "wifi-exporter/{mac}/state", "name": "Wifi device {mac}", " payload_available": "connected", " payload_not_available": "disconnected", "unique_id": "wifi-{mac}"}}"#,
|
||||
mac = mac
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue