Skip to content

Commit 781b24e

Browse files
committed
button cannot be inside diagnostics for some reason
1 parent a9d08ab commit 781b24e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

custom_components/plugwise_usb/button.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ class PlugwiseButtonEntityDescription(
4747
node_feature=NodeFeature.CIRCLE,
4848
),
4949
PlugwiseButtonEntityDescription(
50-
key="ping",
51-
translation_key="ping",
52-
entity_category=EntityCategory.DIAGNOSTIC,
50+
key="ping_node",
51+
translation_key="ping_node",
52+
entity_category=EntityCategory.CONFIG,
5353
async_button_fn="ping_update",
5454
node_feature=NodeFeature.CIRCLE,
5555
),

custom_components/plugwise_usb/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"energy_reset":{
149149
"name": "Reset energy collection"
150150
},
151-
"ping":{
151+
"ping_node":{
152152
"name": "Ping Device"
153153
},
154154
"calibrate_light":{

custom_components/plugwise_usb/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"energy_reset":{
149149
"name": "Reset energy collection"
150150
},
151-
"ping":{
151+
"ping_node":{
152152
"name": "Ping Device"
153153
},
154154
"calibrate_light":{

custom_components/plugwise_usb/translations/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"energy_reset":{
149149
"name": "Energieverzameling resetten"
150150
},
151-
"ping":{
151+
"ping_node":{
152152
"name": "Ping Node"
153153
},
154154
"calibrate_light":{

0 commit comments

Comments
 (0)