File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,30 @@ p.hero-description {
6161 object-fit : contain;
6262}
6363
64+ /* Mobile */
65+ @media (max-width : 768px ) {
66+ .hero-wrapper {
67+ flex-direction : column-reverse; /* image first, text second */
68+ align-items : center;
69+ }
70+
71+ .hero-content {
72+ max-width : 100% ;
73+ text-align : center;
74+ }
75+
76+ .hero-image {
77+ max-width : 100% ;
78+ margin-bottom : 1.5rem ;
79+ }
80+
81+ .hero-logo-crisp {
82+ max-width : 600px ;
83+ width : 100% ;
84+ height : auto;
85+ }
86+ }
87+
6488/* --- PROMO CARDS --- */
6589.promo-card-wrapper {
6690 display : flex;
Original file line number Diff line number Diff line change @@ -156,6 +156,13 @@ def initialize_message(self):
156156 self .state_topic = f'{ topic_root } /{ self .sensorType } /{ self .deviceId } /state'
157157 self .unique_id = f'{ self .deviceId } _sensor_{ self .sensorName } '
158158
159+ if self .mac != "" :
160+ connections_snippet = [
161+ ["mac" , self .mac ]
162+ ]
163+ else :
164+ connections_snippet = []
165+
159166 # Update the message dictionary, expanding it without overwriting
160167 self .message .update ({
161168 "name" : self .sensorName ,
@@ -165,7 +172,8 @@ def initialize_message(self):
165172 "device" : {
166173 "identifiers" : [f"{ self .deviceId } _sensor" ],
167174 "manufacturer" : "NetAlertX" ,
168- "name" : self .deviceName
175+ "name" : self .deviceName ,
176+ "connections" : connections_snippet
169177 },
170178 "icon" : f'mdi:{ self .icon } '
171179 })
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ Enable **Generate Fake MAC** when the API does not expose MAC addresses (e.g. re
4848
4949### Example: OPNsense Dnsmasq API
5050
51+ See the [ OPNsense configuration guide] ( https://docs.netalertx.com/REST_IMPORT ) for details.
52+
5153** Response:**
5254``` json
5355{
Original file line number Diff line number Diff line change 4444 - Getting started :
4545 - Subnets : SUBNETS.md
4646 - Enable Plugins : PLUGINS.md
47- - Pi-hole Guide : PIHOLE_GUIDE.md
48- - Home Assistant : HOME_ASSISTANT.md
49- - Emails : SMTP.md
5047 - Backups : BACKUPS.md
5148 - Security Features : SECURITY_FEATURES.md
5249 - Security Considerations : SECURITY.md
6057 - Performance : PERFORMANCE.md
6158 - Reverse DNS : REVERSE_DNS.md
6259 - Reverse Proxy : REVERSE_PROXY.md
63- - Webhooks (n8n) : WEBHOOK_N8N.md
6460 - Workflows : WORKFLOWS.md
6561 - Workflow Examples : WORKFLOW_EXAMPLES.md
6662 - Docker Swarm : DOCKER_SWARM.md
8581 - Icons and Topology :
8682 - Icons : ICONS.md
8783 - Network Topology : NETWORK_TREE.md
84+ - Other guides :
85+ - Pi-hole Guide : PIHOLE_GUIDE.md
86+ - Home Assistant : HOME_ASSISTANT.md
87+ - Emails : SMTP.md
88+ - Rest import : REST_IMPORT.md
89+ - Webhooks (n8n) : WEBHOOK_N8N.md
8890 - Troubleshooting :
8991 - General Tips : DEBUG_TIPS.md
9092 - Common Issues : COMMON_ISSUES.md
You can’t perform that action at this time.
0 commit comments