Skip to content

Commit 9916c95

Browse files
authored
Merge pull request #203 from plugwise/async-translations
Add missing sensor translations for async-branch
2 parents db1e282 + 8aabc76 commit 9916c95

File tree

2 files changed

+80
-2
lines changed

2 files changed

+80
-2
lines changed

src/custom_components/plugwise_usb/translations/en.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,48 @@
9191
},
9292
"clock_interval": {
9393
"name": "Clock-sync interval",
94-
"description": "Interval the device will synchronize its internal clock. Only useful if clock_sync is set to True."
94+
"description": "Interval the device will synchronize its internal clock. Only useful if Clock-sync is set to True."
9595
}
9696
}
9797
}
98+
},
99+
"entity": {
100+
"sensor": {
101+
"power_last_second": {
102+
"name": "Power"
103+
},
104+
"power_last_8_seconds": {
105+
"name": "Power usage last 8 seconds"
106+
},
107+
"energy_hour_consumption": {
108+
"name": "Energy consumption this hour"
109+
},
110+
"energy_day_consumption": {
111+
"name": "Energy consumption today"
112+
},
113+
"ping_rrt": {
114+
"name": "Network roundtrip time"
115+
},
116+
"ping_rssi_in": {
117+
"name": "RSSI level inbound"
118+
},
119+
"ping_rssi_out": {
120+
"name": "RSSI level outbound"
121+
},
122+
"temperature": {
123+
"name": "Temperature"
124+
},
125+
"humidity": {
126+
"name": "Humidity"
127+
}
128+
},
129+
"switch": {
130+
"relay": {
131+
"name": "Relay"
132+
},
133+
"relay_init": {
134+
"name": "Relay startup"
135+
}
136+
}
98137
}
99138
}

src/custom_components/plugwise_usb/translations/nl.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,48 @@
9191
},
9292
"clock_interval": {
9393
"name": "Interval kloksyncronisatie",
94-
"description": "Tijdsinterval dat het apparaat de interne klok synchroniseert. Enkel van toepassing als clock_sync gezet is."
94+
"description": "Tijdsinterval dat het apparaat de interne klok synchroniseert. Enkel van toepassing als Clock-sync gezet is."
9595
}
9696
}
9797
}
98+
},
99+
"entity": {
100+
"sensor": {
101+
"power_last_second": {
102+
"name": "Energie"
103+
},
104+
"power_last_8_seconds": {
105+
"name": "Energie laatste 8 seconden"
106+
},
107+
"energy_hour_consumption": {
108+
"name": "Energie cumulatief dit uur"
109+
},
110+
"energy_day_consumption": {
111+
"name": "Energie cumulatief vandaag"
112+
},
113+
"ping_rrt": {
114+
"name": "Netwerk retourtijd"
115+
},
116+
"ping_rssi_in": {
117+
"name": "RSSI-niveau inkomend"
118+
},
119+
"ping_rssi_out": {
120+
"name": "RSSI-niveau uitgaand"
121+
},
122+
"temperature": {
123+
"name": "Temperatuur"
124+
},
125+
"humidity": {
126+
"name": "Luchtvochtigheid"
127+
}
128+
},
129+
"switch": {
130+
"relay": {
131+
"name": "Schakelaar"
132+
},
133+
"relay_init": {
134+
"name": "Initialisatie schakelaar"
135+
}
136+
}
98137
}
99138
}

0 commit comments

Comments
 (0)