Bump nyt_games to 0.5.0 (#148654)

This commit is contained in:
0xEF 2025-07-12 20:30:26 +02:00 committed by GitHub
parent 28994152ae
commit cf2ef4cec1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 61 additions and 55 deletions

View File

@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/nyt_games",
"integration_type": "service",
"iot_class": "cloud_polling",
"requirements": ["nyt_games==0.4.4"]
"requirements": ["nyt_games==0.5.0"]
}

2
requirements_all.txt generated
View File

@ -1555,7 +1555,7 @@ numato-gpio==0.13.0
numpy==2.3.0
# homeassistant.components.nyt_games
nyt_games==0.4.4
nyt_games==0.5.0
# homeassistant.components.oasa_telematics
oasatelematics==0.3

View File

@ -1329,7 +1329,7 @@ numato-gpio==0.13.0
numpy==2.3.0
# homeassistant.components.nyt_games
nyt_games==0.4.4
nyt_games==0.5.0
# homeassistant.components.google
oauth2client==4.1.3

View File

@ -25,43 +25,46 @@
},
"wordle": {
"legacyStats": {
"gamesPlayed": 70,
"gamesWon": 51,
"gamesPlayed": 1111,
"gamesWon": 1069,
"guesses": {
"1": 0,
"2": 1,
"3": 7,
"4": 11,
"5": 20,
"6": 12,
"fail": 19
"2": 8,
"3": 83,
"4": 440,
"5": 372,
"6": 166,
"fail": 42
},
"currentStreak": 1,
"maxStreak": 5,
"lastWonDayOffset": 1189,
"currentStreak": 229,
"maxStreak": 229,
"lastWonDayOffset": 1472,
"hasPlayed": true,
"autoOptInTimestamp": 1708273168957,
"hasMadeStatsChoice": false,
"timestamp": 1726831978
"autoOptInTimestamp": 1712205417018,
"hasMadeStatsChoice": true,
"timestamp": 1751255756
},
"calculatedStats": {
"gamesPlayed": 33,
"gamesWon": 26,
"currentStreak": 237,
"maxStreak": 241,
"lastWonPrintDate": "2025-07-08",
"lastCompletedPrintDate": "2025-07-08",
"hasPlayed": true
},
"totalStats": {
"gamesWon": 1077,
"gamesPlayed": 1119,
"guesses": {
"1": 0,
"2": 1,
"3": 4,
"4": 7,
"5": 10,
"6": 4,
"fail": 7
"2": 8,
"3": 83,
"4": 444,
"5": 376,
"6": 166,
"fail": 42
},
"currentStreak": 1,
"maxStreak": 5,
"lastWonPrintDate": "2024-09-20",
"lastCompletedPrintDate": "2024-09-20",
"hasPlayed": true,
"generation": 1
"hasPlayedArchive": false
}
}
}

View File

@ -7,26 +7,6 @@
"stats": {
"wordle": {
"legacyStats": {
"gamesPlayed": 1,
"gamesWon": 1,
"guesses": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 1,
"6": 0,
"fail": 0
},
"currentStreak": 0,
"maxStreak": 1,
"lastWonDayOffset": 1118,
"hasPlayed": true,
"autoOptInTimestamp": 1727357874700,
"hasMadeStatsChoice": false,
"timestamp": 1727358123
},
"calculatedStats": {
"gamesPlayed": 0,
"gamesWon": 0,
"guesses": {
@ -38,12 +18,35 @@
"6": 0,
"fail": 0
},
"currentStreak": 0,
"maxStreak": 1,
"lastWonDayOffset": 1118,
"hasPlayed": true,
"autoOptInTimestamp": 1727357874700,
"hasMadeStatsChoice": false,
"timestamp": 1727358123
},
"calculatedStats": {
"currentStreak": 0,
"maxStreak": 1,
"lastWonPrintDate": "",
"lastCompletedPrintDate": "",
"hasPlayed": false
},
"totalStats": {
"gamesPlayed": 1,
"gamesWon": 1,
"guesses": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 1,
"6": 0,
"fail": 0
},
"hasPlayed": false,
"generation": 1
"hasPlayedArchive": false
}
}
}

View File

@ -473,7 +473,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '1',
'state': '237',
})
# ---
# name: test_all_entities[sensor.wordle_highest_streak-entry]
@ -529,7 +529,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '5',
'state': '241',
})
# ---
# name: test_all_entities[sensor.wordle_played-entry]
@ -581,7 +581,7 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '70',
'state': '1119',
})
# ---
# name: test_all_entities[sensor.wordle_won-entry]
@ -633,6 +633,6 @@
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '51',
'state': '1077',
})
# ---