Fix spacing of arrows

This commit is contained in:
Joseph Abbey
2024-01-27 14:02:05 +00:00
parent 4ff1509046
commit 96abff9339
2 changed files with 9 additions and 9 deletions

View File

@ -59,11 +59,11 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
{
"type" => "update_location",
"data" => {
"gps" => position.position.toDegrees(),
"gps" => position.position.toDegrees(),
"gps_accuracy" => 10,
"speed" => Math.round(position.speed),
"course" => Math.round(position.heading * 180 / Math.PI),
"altitude" => Math.round(position.altitude),
"speed" => Math.round(position.speed),
"course" => Math.round(position.heading * 180 / Math.PI),
"altitude" => Math.round(position.altitude),
}
},
{

View File

@ -184,11 +184,11 @@ class WebhookManager {
// System.println("WebhookManager onReturnRegisterWebhookSensor(): Registering next sensor: Activity");
if (Activity has :getProfileInfo) {
registerWebhookSensor({
"name" => "Activity",
"state" => Activity.getProfileInfo().name,
"type" => "sensor",
"unique_id" => "activity",
"disabled" => false
"name" => "Activity",
"state" => Activity.getProfileInfo().name,
"type" => "sensor",
"unique_id" => "activity",
"disabled" => false
}, 2);
break;
}