Skip to content

Commit 869b979

Browse files
author
fwmone
committed
## [0.1.14] - 2026-04-25
### Changed - changing max length of file list from 50 to 250 to have better randomization
1 parent 1934f5c commit 869b979

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [0.1.14] - 2026-04-25
9+
10+
### Changed
11+
- changing max length of file list from 50 to 250 to have better randomization
12+
813
## [0.1.13] - 2026-04-07
914

1015
### Changed

custom_components/bloomin8_pull/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "bloomin8_pull",
33
"name": "BLOOMIN8 Pull Endpoint",
4-
"version": "0.1.13",
4+
"version": "0.1.14",
55
"documentation": "https://github.com/fwmone/bloomin8_pull",
66
"issue_tracker": "https://github.com/fwmone/bloomin8_pull/issues",
77
"requirements": [],

custom_components/bloomin8_pull/view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
from .const import DOMAIN, STATE_BATTERY, STATE_SUCCESS, STATE_LAST_SEEN, STATE_FILE, STATE_ENABLED, DEFAULT_ENABLED, STATE_LAST_IMAGE_URL
2222

2323
def calc_recent_max(n_files: int) -> int:
24-
# 50% of files, minimum 5, maximum 50
25-
return max(5, min(50, int(round(n_files * 0.5))))
24+
# 50% of files, minimum 5, maximum 250
25+
return max(5, min(250, int(round(n_files * 0.5))))
2626

2727
def clear_publish_dir(path: str) -> None:
2828
if not os.path.isdir(path):

0 commit comments

Comments
 (0)