Skip to content

Commit

Permalink
Fixed typos and casing
Browse files Browse the repository at this point in the history
  • Loading branch information
yGuy authored and MarcusWichelmann committed May 18, 2023
1 parent a3b6291 commit eb39c75
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using MQTTnet.Client;
using MQTTnet.Protocol;

namespace EnergyExporter.MQTT;
namespace EnergyExporter.Mqtt;

public class MqttExporter : IDisposable
{
Expand Down
4 changes: 2 additions & 2 deletions src/EnergyExporter/Options/ExportOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public class MqttOptions

public int Port { get; init; } = 1883;

public string ClientId { get; init; } = "EnergyExplorer";
public string ClientId { get; init; } = "EnergyExporter";

public string Topic { get; init; } = "EnergyExplorer";
public string Topic { get; init; } = "EnergyExporter";

public string? User { get; init; } = null;

Expand Down
2 changes: 1 addition & 1 deletion src/EnergyExporter/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Text.Json.Serialization;
using EnergyExporter.InfluxDb;
using EnergyExporter.Modbus;
using EnergyExporter.MQTT;
using EnergyExporter.Mqtt;
using EnergyExporter.Options;
using EnergyExporter.Prometheus;
using EnergyExporter.Services;
Expand Down
2 changes: 1 addition & 1 deletion src/EnergyExporter/Services/DevicePollingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading;
using System.Threading.Tasks;
using EnergyExporter.InfluxDb;
using EnergyExporter.MQTT;
using EnergyExporter.Mqtt;
using EnergyExporter.Options;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
Expand Down
4 changes: 2 additions & 2 deletions src/EnergyExporter/appsettings.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"TcpServer": "mqtt.domain.tld",
// the following is all optional inside this section. Defaults are shown, here
"Port": 1883,
"ClientId": "EnergyExplorer",
"Topic": "EnergyExplorer",
"ClientId": "EnergyExporter",
"Topic": "EnergyExporter",
// omit if no authentication is required
"User": "user",
"Password": "l33tp455"
Expand Down

0 comments on commit eb39c75

Please sign in to comment.