This a custom component for Home Assistant.
The tplink_easysmartswitch
integration allows you to get port information from TP-Link Easy Smart Switch.
You will get two sensors by input enabled with all attributes availables.
Copy the custom_components/tplink_easysmartswitch
folder into the config folder.
Go to Configuration >> Integrations in the UI, click the button with + sign and from the list of integrations select TP-Link Easy Smart Switch.
With multiple-entity-row
custom card:
entities:
- entities:
- entity: sensor.port_01_ingress
name: Down
- entity: sensor.port_01_egress
name: Up
- attribute: link_status
name: Status
entity: binary_sensor.port_01
type: custom:multiple-entity-row
type: entities