Skip to content

Commit

Permalink
Make ipv4 connection type sensor disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsvenssonn committed Jan 10, 2025
1 parent 5a0dc86 commit 15ca408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/tplink_router/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class TPLinkRouterSensorEntityDescription(SensorEntityDescription, TPLinkRouterS
name="IPv4 Connection Type",
icon="mdi:wan",
value=lambda ipv4_status: "WAN" if ipv4_status.wan_ipv4_conntype == "ipoe_1_d" else "4G",
entity_registry_enabled_default=False,
),
)

Expand Down

0 comments on commit 15ca408

Please sign in to comment.