diff --git a/CHANGELOG.md b/CHANGELOG.md index 33e68df..7bbaba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to this project are documented here. The format follows ## [Unreleased] +## [0.1.1] - 2026-10-30 + +### Changed + +- A port to another of your switches shows a link symbol (⇄) instead of an arrow up: the arrow + sat on both ends of the same cable, although "up" usually means towards the router. + ## [0.1.0] - 2026-10-30 First release. @@ -23,5 +30,6 @@ First release. tries again after 15 seconds and reads the ports again once the switch is back; it says when the integration is too old. -[Unreleased]: https://github.com/eizedev/managed-switch-card/compare/v0.1.0...HEAD +[Unreleased]: https://github.com/eizedev/managed-switch-card/compare/v0.1.1...HEAD +[0.1.1]: https://github.com/eizedev/managed-switch-card/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/eizedev/managed-switch-card/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 69f599f..a252e1c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ the device connected to each port. It shows what the [![Open your Home Assistant instance and open this repository in HACS.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=eizedev&repository=managed-switch-card&category=plugin) -Three switches as cards: green ports at 1 Gbit/s, orange at 100 Mbit/s, white without link, arrows on the links between the switches, the device name under each port +Three switches as cards: green ports at 1 Gbit/s, orange at 100 Mbit/s, empty without link, a link symbol on the ports between the switches, the device name under each port **Documentation: [ha-managed-switch.eize.dev/card](https://ha-managed-switch.eize.dev/card/)** diff --git a/assets/card.png b/assets/card.png index 1ed9881..4ec0953 100644 Binary files a/assets/card.png and b/assets/card.png differ diff --git a/package-lock.json b/package-lock.json index e776bb9..93595d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "managed-switch-card", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "managed-switch-card", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "devDependencies": { "@types/node": "^24.19.2", diff --git a/package.json b/package.json index b21aed5..d90e1b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "managed-switch-card", - "version": "0.1.0", + "version": "0.1.1", "description": "Lovelace card that draws a managed switch's front panel from the Managed Switch (SNMP) Home Assistant integration", "license": "MIT", "private": true, diff --git a/src/managed-switch-card.ts b/src/managed-switch-card.ts index 666f8f1..7509130 100644 --- a/src/managed-switch-card.ts +++ b/src/managed-switch-card.ts @@ -120,7 +120,7 @@ export class ManagedSwitchCard extends LitElement { @click=${() => this._open(e.device ?? e.link)} > - ${port.uplink ? html`` : nothing} + ${port.uplink ? html`` : nothing} ${port.poe && powered(states[e.poe ?? ""]) ? html`` : nothing} @@ -331,7 +331,7 @@ export class ManagedSwitchCard extends LitElement { --mdc-icon-size: 14px; color: var(--text-primary-color, #fff); } - .badge.up { + .badge.link { left: 2px; top: 2px; }