Releases: mintcreg/pantry_tracker_sensor
Releases · mintcreg/pantry_tracker_sensor
v1.0.7: Update main to 1.0.7 (#4)
Changelog
1.0.7 (2025-01-29)
Version 1.0.7
⚠️ Upgrading Steps (Somewhat Breaking)
- Obtain API Key from Pantry Tracker > Settings Cog > API Key
- Navigate to Pantry Tracker Device and select 'Configure'
- Input the API Key
- Click 'Submit'
All data will be retained including recorder and history
Important
If you are using Pantry Tracker v1.0.53 or less, you need to update to Pantry Tracker V1.0.54
🔨 Fixes:
- Config flow update - Updating the update interval or source would not actually apply new variables now fixed
- Enhanced Exception Handling: - Added comprehensive try-except blocks in setup functions to catch and log unexpected errors.
- Sensor Initialization Stability: - Fixed issues in sensor setup to gracefully handle missing or incomplete product data.
- Failed to load integration - The error failed to load integration NoneType: None has now been fixed
⭐ Changes:
- Expanded Configuration Options: - Added fields for Host, Port, API Key, and Update Interval in the configuration flow.
- Enhanced Logging
- Reload Config - When changing the config (Host, Port, API Key, and Update Interval) this will reload all sensors gracefully
- API Key - As of Pantry Tracker V1.0.54 API keys have been introduced and required for added security
v1.0.6
v1.0.5
Changelog
1.0.5 (2025-01-06)
Updates:
- Changed naming convention to Pantry Tracker Sensor (from components)
- Added config flow (this will not affect any sensors already created)
Update Steps:
- After updating, add integration via Settings > Devices > Add Integration > Pantry Tracker Sensor
- Remove the below YAML from config.yaml
sensor:
- platform: pantry_tracker
scan_interval: 30 # (Optional) defaults to 30 if not defined
- Restart HomeAssistant
v1.0.4
Changelog
1.0.4 (2024-12-24)
Caution
YOU MUST HAVE Pantry Tracker v1.0.51 or this will result in errors
Updates:
- Barcode Attribute added
- Sensor attributes will now pull any additional attributes (future proofing for additional values later)
- Added barcode_increase / barcode_decrease services (I may look into this in future but it allows you to use this service with other automations etc...)
- Now handles ingress for Pantry Tracker v1.0.51
v1.0.4-dev
Changelog
1.0.4-dev (2024-12-20)
Caution
YOU MUST HAVE Pantry Tracker v1.0.5 in order for this to work
Updates:
- Changed to SSL (will require Pantry Tracker v1.0.5)
- Additional attributes will now pull any additional attributes (future proofing for additional values later)
v1.0.3
Changelog
1.0.3 (2024-12-19)
Updates:
- Changed BASE_URL to source to allow defining the addon URL & port, (defaults to 127.0.0.1:5000)
- Changed SCAN_INTERVAL to be defined in config.yaml (defaults to 30 seconds)
No changes required, however you can now define the scan interval and future proof the app URL incase this changes.
sensor:
- platform: pantry_tracker
scan_interval: 30 # (Optional) defaults to 30 if not defined
source: http://127.0.0.1:5000 # (Optional) defaults to http://127.0.0.1:5000 if not defined