/hass-tplink-easysmartswitch

TP-Link Easy Smart Switch integration for Home Assistant

Primary LanguagePythonApache License 2.0Apache-2.0

TP-Link Easy Smart Switch integration for Home Assistant

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.

Installation

Copy the custom_components/tplink_easysmartswitch folder into the config folder.

Configuration

Go to Configuration >> Integrations in the UI, click the button with + sign and from the list of integrations select TP-Link Easy Smart Switch.

Lovelace Card example

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

Card example

Credits

https://github.com/psmode/essstat