Skip to content

Commit

Permalink
Fixed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Stricker committed Dec 3, 2023
1 parent 1df8931 commit 5ac8cc7
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 147 deletions.
240 changes: 120 additions & 120 deletions lib/objects.js
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
module.exports = {
router: [
{
_id: "IPV4_status",
type: "state",
_id: 'IPV4_status',
type: 'state',
common: {
name: "WAN status of IPV4",
type: "string",
role: "text",
def: "",
name: 'WAN status of IPV4',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "IPV4_IP",
type: "state",
_id: 'IPV4_IP',
type: 'state',
common: {
name: "WAN IP of IPV4",
type: "string",
role: "text",
def: "",
name: 'WAN IP of IPV4',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "IPV6_status",
type: "state",
_id: 'IPV6_status',
type: 'state',
common: {
name: "WAN status of IPV6",
type: "string",
role: "text",
def: "",
name: 'WAN status of IPV6',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "IPV6_IP",
type: "state",
_id: 'IPV6_IP',
type: 'state',
common: {
name: "WAN IP of IPV6",
type: "string",
role: "text",
def: "",
name: 'WAN IP of IPV6',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
Expand All @@ -55,65 +55,65 @@ module.exports = {
],
devices: [
{
_id: "all",
type: "state",
_id: 'all',
type: 'state',
common: {
name: "All known devices",
type: "string",
role: "text",
def: "",
name: 'All known devices',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "online",
type: "state",
_id: 'online',
type: 'state',
common: {
name: "All online devices",
type: "string",
role: "text",
def: "",
name: 'All online devices',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "online_wifi",
type: "state",
_id: 'online_wifi',
type: 'state',
common: {
name: "All online WIFI devices",
type: "string",
role: "text",
def: "",
name: 'All online WIFI devices',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "online_ethernet",
type: "state",
_id: 'online_ethernet',
type: 'state',
common: {
name: "All online ethernet devices",
type: "string",
role: "text",
def: "",
name: 'All online ethernet devices',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "mesh",
type: "state",
_id: 'mesh',
type: 'state',
common: {
name: "Mesh nodes",
type: "string",
role: "text",
def: "",
name: 'Mesh nodes',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
Expand All @@ -122,13 +122,13 @@ module.exports = {
],
traffic: [
{
_id: "live",
type: "state",
_id: 'live',
type: 'state',
common: {
name: "Live traffic",
type: "string",
role: "text",
def: "",
name: 'Live traffic',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
Expand Down Expand Up @@ -176,132 +176,132 @@ module.exports = {
],
mesh: [
{
_id: "band",
type: "state",
_id: 'band',
type: 'state',
common: {
name: "Uplink band",
type: "string",
role: "text",
def: "",
name: 'Uplink band',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "connected_devices",
type: "state",
_id: 'connected_devices',
type: 'state',
common: {
name: "Number connected devices",
type: "number",
role: "connected.devices",
name: 'Number connected devices',
type: 'number',
role: 'connected.devices',
read: true,
write: false,
unit: "devices"
unit: 'devices'
},
native: {},
},
{
_id: "current_rate_rx",
type: "state",
_id: 'current_rate_rx',
type: 'state',
common: {
name: "Current receive rate",
type: "number",
role: "current.rate.rx",
name: 'Current receive rate',
type: 'number',
role: 'current.rate.rx',
read: true,
write: false,
unit: "bytes/s",
unit: 'bytes/s',
},
native: {},
},
{
_id: "current_rate_tx",
type: "state",
_id: 'current_rate_tx',
type: 'state',
common: {
name: "Current transmit rate",
type: "number",
role: "current.rate.tx",
name: 'Current transmit rate',
type: 'number',
role: 'current.rate.tx',
read: true,
write: false,
unit: "bytes/s",
unit: 'bytes/s',
},
native: {},
},
{
_id: "name",
type: "state",
_id: 'name',
type: 'state',
common: {
name: "Node name",
type: "string",
role: "text",
def: "",
name: 'Node name',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "network_status",
type: "state",
_id: 'network_status',
type: 'state',
common: {
name: "Network status",
type: "string",
role: "text",
def: "",
name: 'Network status',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "node_id",
type: "state",
_id: 'node_id',
type: 'state',
common: {
name: "Node ID",
type: "number",
role: "node.id",
name: 'Node ID',
type: 'number',
role: 'node.id',
read: true,
write: false,
unit: "",
unit: '',
},
native: {},
},
{
_id: "node_status",
type: "state",
_id: 'node_status',
type: 'state',
common: {
name: "Node status",
type: "string",
role: "text",
def: "",
name: 'Node status',
type: 'string',
role: 'text',
def: '',
read: true,
write: false
},
native: {},
},
{
_id: "parent_node_id",
type: "state",
_id: 'parent_node_id',
type: 'state',
common: {
name: "Parent node ID",
type: "number",
role: "parent.node.id",
name: 'Parent node ID',
type: 'number',
role: 'parent.node.id',
read: true,
write: false,
unit: "",
unit: '',
},
native: {},
},
{
_id: "signal_strength",
type: "state",
_id: 'signal_strength',
type: 'state',
common: {
name: "Signal strength",
type: "number",
role: "signal_strength",
name: 'Signal strength',
type: 'number',
role: 'signal_strength',
read: true,
write: false,
unit: "",
unit: '',
},
native: {},
},
Expand Down
Loading

0 comments on commit 5ac8cc7

Please sign in to comment.