Skip to content

Commit

Permalink
debugging tcp gateway problems
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Oct 17, 2024
1 parent 18ac8ca commit 38dc1cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/eltako/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ class GatewayReconnectButton(AbstractButton):

def __init__(self, platform: str, gateway: EnOceanGateway):
self.entity_description = ButtonEntityDescription(
key="gateway_" + str(gateway.dev_id) + "Serial Reconnection",
name="Reconnect Gateway "+str(gateway.dev_id),
key="gateway_" + str(gateway.dev_id) + "_serial_reconnection",
name="Reconnect Gateway",
icon="mdi:button-pointer",
device_class=ButtonDeviceClass.UPDATE,
)
Expand Down Expand Up @@ -144,8 +144,8 @@ class GatewayReadAllDevicesButton(AbstractButton):

def __init__(self, platform: str, gateway: EnOceanGateway):
self.entity_description = ButtonEntityDescription(
key="gateway_" + str(gateway.dev_id) + "Read all Devices",
name="Read add devices"+str(gateway.dev_id),
key="gateway_" + str(gateway.dev_id) + "read_memory_of_bus_devices",
name="Read memory of bus devices",
icon="mdi:button-pointer",
device_class=ButtonDeviceClass.IDENTIFY,
)
Expand Down

0 comments on commit 38dc1cf

Please sign in to comment.