Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 4db29ab

Browse files
committed
Add username to file, closes #47
1 parent 894b962 commit 4db29ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/authenticated/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def write_to_file(self):
257257
known = self.hass.data[PLATFORM_NAME][known]
258258
info[known.ip_address] = {
259259
"user_id": known.user_id,
260+
"username": known.username,
260261
"last_used_at": known.last_used_at,
261262
"prev_used_at": known.prev_used_at,
262263
"country": known.country,

0 commit comments

Comments
 (0)