Julian Pawlowski
5ba0633d15
refactor: Store trend attributes in a sensor-specific dictionary for better organization
2025-11-08 15:30:55 +00:00
Julian Pawlowski
f9f4908748
refactor: Enhance period calculations with aggregated levels and ratings
2025-11-08 15:01:25 +00:00
Julian Pawlowski
db3299b7a7
Add period calculation for best and peak prices
...
- Introduced a new utility module `period_utils.py` for calculating price periods.
- Implemented `_get_period_config` method to retrieve configuration for best and peak price calculations.
- Added `_calculate_periods_for_price_info` method to compute best and peak price periods based on price data.
- Enhanced `TibberPricesDataUpdateCoordinator` to include calculated periods in the data transformation methods.
- Updated configuration constants for best and peak price settings.
2025-11-08 14:26:46 +00:00
Julian Pawlowski
3f3edd8a28
refactor: Update price level and rating options to inline definitions for sensor initialization
2025-11-08 09:24:28 +00:00
Julian Pawlowski
9c6ebc45ec
chore: Bump version to 0.2.0
2025-11-07 23:45:28 +00:00
Julian Pawlowski
df9fb37fe4
refactor: Update integration version handling in TibberPrices components
2025-11-07 23:43:39 +00:00
Julian Pawlowski
6b2c45d52c
refactor: Remove obsolete test files
2025-11-07 23:43:07 +00:00
Julian Pawlowski
3df68db20b
refactor: Update interval attribute keys and improve period merging logic in TibberPricesBinarySensor
2025-11-07 23:31:29 +00:00
Julian Pawlowski
ca88f136c3
feat: Implement time-sensitive updates for Tibber price sensors and binary sensors
2025-11-07 21:02:11 +00:00
Julian Pawlowski
1ed2c08f34
feat: Add minimum period length configuration for best and peak price sensors
2025-11-07 15:16:16 +00:00
Julian Pawlowski
f4ae8422f2
fix: Update trend percentage attribute key format in TibberPricesSensor
2025-11-07 14:49:36 +00:00
Julian Pawlowski
19063daa72
fix: Remove unused model_id attribute from TibberPricesEntity
2025-11-07 14:45:33 +00:00
Julian Pawlowski
080060c609
fix: Update HACS version and add country list in hacs.json
2025-11-07 14:34:14 +00:00
Julian Pawlowski
40852b7d84
fix: Update reauthentication titles for Tibber Price integration in multiple languages
2025-11-07 11:13:42 +00:00
Julian Pawlowski
5e0a297a8f
Update Dutch and Swedish translations for Tibber Prices integration
...
- Revised various phrases for clarity and consistency in Dutch (nl.json) and Swedish (sv.json) translations.
- Changed terms from "woning" to "huis" in Dutch for better contextual accuracy.
- Improved readability and grammatical correctness in both languages.
- Ensured all user-facing strings are updated to reflect the latest terminology and phrasing.
2025-11-06 22:53:20 +00:00
Julian Pawlowski
ef1a81ccc1
Refactor translations for electricity prices in multiple languages
...
- Updated keys from "cents" to more user-friendly terms for current, next, and previous prices.
- Added state descriptions for price levels and ratings, including categories like "very cheap," "cheap," "normal," "expensive," and "very expensive."
- Introduced new average price sensors for the next 1 to 12 hours.
- Added price trend sensors for 1 to 12 hours with states indicating rising, falling, or stable trends.
- Ensured consistency in naming conventions across English, Norwegian, Dutch, and Swedish translations.
2025-11-06 22:36:12 +00:00
Julian Pawlowski
76e5a0fc58
feat: Add function to calculate average price for the next N hours
2025-11-06 22:35:53 +00:00
Julian Pawlowski
4d77d6d824
fix: Change integration type from service to hub in manifest.json
2025-11-06 17:04:10 +00:00
Julian Pawlowski
433558f60b
feat: Implement reauthentication flow
2025-11-06 16:59:41 +00:00
Julian Pawlowski
543b1114ed
fix: Update README to display the correct logo image
2025-11-06 16:27:28 +00:00
Julian Pawlowski
3ef588b1f4
fix: Update German translations for peak and best price period labels
2025-11-06 16:01:41 +00:00
Julian Pawlowski
6771200d48
fix: Add linkx for Tibber API reference in README
2025-11-06 16:01:34 +00:00
Julian Pawlowski
96df4882e0
Add Norwegian, Dutch, and Swedish translations for Tibber Prices integration
2025-11-06 12:03:03 +00:00
Julian Pawlowski
63904fff39
feat: Enhance Tibber Prices integration with new configuration options and improved data handling
...
- Added new configuration options for minimum distance from average price for best and peak prices.
- Updated default values for best and peak price flexibility.
- Improved coordinator to handle midnight turnover and data rotation more effectively.
- Refactored entity initialization to streamline device information retrieval.
- Updated sensor attributes to use more descriptive names for price values.
- Enhanced translations for new configuration options in English and German.
- Improved unit tests for coordinator functionality, ensuring proper cleanup and async handling.
2025-11-06 11:43:22 +00:00
Julian Pawlowski
03f09818d1
add shellcheck directive for bootstrap script
2025-11-06 11:43:10 +00:00
Julian Pawlowski
1db729ae16
update copilot instructions to prefer Home Assistant datetime utilities over standard library
2025-11-06 11:42:59 +00:00
Julian Pawlowski
faa6ce64d0
update requirements
2025-11-06 11:42:47 +00:00
Julian Pawlowski
f7991ae71c
fix
2025-11-03 22:26:51 +00:00
Julian Pawlowski
c3b3cf82bd
Merge pull request #19 from jpawlowski/dependabot/github_actions/astral-sh/setup-uv-7.1.2
...
Bump astral-sh/setup-uv from 7.1.0 to 7.1.2
2025-11-03 23:12:15 +01:00
Julian Pawlowski
4acaf969a2
Merge pull request #18 from jpawlowski/dependabot/pip/setuptools-80.9.0
...
Bump setuptools from 78.1.1 to 80.9.0
2025-11-03 23:11:47 +01:00
Julian Pawlowski
af3e112c99
update translations
2025-11-03 22:11:19 +00:00
Julian Pawlowski
e8fe75aeff
update README
2025-11-03 22:06:44 +00:00
Julian Pawlowski
17a20fbb39
update default values
2025-11-03 22:04:14 +00:00
Julian Pawlowski
fbda6281d1
update copilot instructions
2025-11-03 21:49:15 +00:00
Julian Pawlowski
2f7b48e177
update currency
2025-11-03 21:31:38 +00:00
Julian Pawlowski
8790ac8a41
fix
2025-11-03 21:13:50 +00:00
dependabot[bot]
b3120a9ada
Bump setuptools from 78.1.1 to 80.9.0
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 78.1.1 to 80.9.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v78.1.1...v80.9.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-version: 80.9.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 20:57:24 +00:00
Julian Pawlowski
bba5f180b0
add lots of new sensors
2025-11-03 20:55:28 +00:00
Julian Pawlowski
aaa66227d4
fix linter issues
2025-11-03 20:52:10 +00:00
dependabot[bot]
3c8fa390d7
Bump astral-sh/setup-uv from 7.1.0 to 7.1.2
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 7.1.0 to 7.1.2.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](3259c6206f...85856786d1 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 7.1.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 20:42:25 +00:00
Julian Pawlowski
2e1fb2f061
add symlinks for agents
2025-11-03 17:45:25 +00:00
Julian Pawlowski
0a245a0e12
fix linter
2025-11-03 17:33:01 +00:00
Julian Pawlowski
6d4669c8e7
fix bootstrap
2025-11-03 17:32:49 +00:00
Julian Pawlowski
c6eed9329b
update dev environment
2025-11-03 17:00:08 +00:00
Julian Pawlowski
263d9822d1
add pre-commit
2025-11-03 15:54:27 +00:00
Julian Pawlowski
6040a19136
update dev environment
2025-11-03 15:54:01 +00:00
Julian Pawlowski
5ee780da87
update translations
2025-11-03 09:53:19 +00:00
Julian Pawlowski
02adf47faf
fix translations
2025-11-03 00:47:50 +00:00
Julian Pawlowski
a4a8fc5707
fix manifest order
2025-11-03 00:47:45 +00:00
Julian Pawlowski
d749016f3a
fix sorting order
2025-11-03 00:44:25 +00:00