🆕MQTT self.mac error #703 + dos/css fixes

This commit is contained in:
jokob-sk
2024-06-12 21:34:00 +10:00
parent 307e81918e
commit ff288c58e3
5 changed files with 12 additions and 5 deletions

View File

@@ -108,6 +108,10 @@
/* -----------------------------------------------------------------------------
Main Sections
----------------------------------------------------------------------------- */
.content-header h1{
font-size:24px;
}
.content-header {
padding-top: 5px;
}

View File

@@ -112,7 +112,7 @@
"DevDetail_Run_Actions_Tooltip": "Run an action on the current device from the dropdown list.",
"DevDetail_SessionInfo_FirstSession": "First Session",
"DevDetail_SessionInfo_LastIP": "Last IP",
"DevDetail_SessionInfo_LastSession": "Last Session",
"DevDetail_SessionInfo_LastSession": "Last Offline",
"DevDetail_SessionInfo_StaticIP": "Static IP",
"DevDetail_SessionInfo_Status": "Status",
"DevDetail_SessionInfo_Title": "<i class=\"fa fa-calendar\"></i> Session Info",
@@ -201,7 +201,7 @@
"Device_TableHead_Icon": "Icon",
"Device_TableHead_LastIP": "Last IP",
"Device_TableHead_LastIPOrder": "Last IP Order",
"Device_TableHead_LastSession": "Last Session",
"Device_TableHead_LastSession": "Last Offline",
"Device_TableHead_Location": "Location",
"Device_TableHead_MAC": "Random MAC",
"Device_TableHead_MAC_full": "Full MAC",

View File

@@ -87,6 +87,7 @@ class sensor_config:
self.sensorType = sensorType
self.sensorName = sensorName
self.icon = icon
self.mac = mac
self.state_topic = ''
self.json_attr_topic = ''
self.topic = ''