Skip to content

Releases: mintcreg/pantry_tracker_sensor

v1.0.7: Update main to 1.0.7 (#4)

29 Jan 12:06
4345542
Compare
Choose a tag to compare

Changelog

1.0.7 (2025-01-29)

Full Changelog:

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

17 Jan 16:51
89715be
Compare
Choose a tag to compare

Changelog

1.0.6 (2025-01-17)

Full Changelog:

Updates:

  • Updating to HA version 2025.1.2 breaks service calls (now fixed)

Ensure you restart after updating!

v1.0.5

06 Jan 14:32
ff8d189
Compare
Choose a tag to compare

Changelog

1.0.5 (2025-01-06)

Full Changelog:

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

24 Dec 12:42
83fdb04
Compare
Choose a tag to compare

Changelog

1.0.4 (2024-12-24)

Full Changelog:

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

20 Dec 17:14
b412068
Compare
Choose a tag to compare
v1.0.4-dev Pre-release
Pre-release

Changelog

1.0.4-dev (2024-12-20)

Full Changelog:

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

19 Dec 13:19
3448d9f
Compare
Choose a tag to compare

Changelog

1.0.3 (2024-12-19)

Full Changelog:

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

v1.0.2

16 Dec 14:05
c53d3a3
Compare
Choose a tag to compare

Changelog

1.0.2 (2024-12-16)

Full Changelog:

Updates:

  • Change to product_name for update count to ensure capitalisation doesn't affect updates

v1.0.1

15 Dec 20:27
f955587
Compare
Choose a tag to compare
Update manifest.json

v1.0.0

15 Dec 20:12
473de67
Compare
Choose a tag to compare