- Fix update data when printer goes online #161
- Set integration title as
{make_and_model} ({hostname})
- Add support for
inktank
cartridge type #162 - Add sensor of total printed pages per consumable, available for toner only #72
- Fix HTTPS requests #160
- Remove startup blocking call
- Improved diagnostics file output (general and device level) with more details
- Use HA client session instead of aiohttp directly
- Improved validation for enum sensors (Status and Consumable Type)
- Set update interval per endpoint (Default - 5m), instead of 5 minutes as configuration
Endpoint | Data | Interval | Times a day |
---|---|---|---|
/DevMgmt/ProductConfigDyn.xml | Main device details | 52w | 0.0027 |
/DevMgmt/ProductStatusDyn.xml | Device status | 10s | 8,640 |
/DevMgmt/ConsumableConfigDyn.xml | Consumables | 5m | 288 |
/DevMgmt/ProductUsageDyn.xml | Consumables, Printer, Scanner, Copier, Fax | 5m | 288 |
/ePrint/ePrintConfigDyn.xml | ePrint | 5m | 288 |
/IoMgmt/Adapters | Network Adapters | 5m | 288 |
/DevMgmt/NetAppsSecureDyn.xml | Wifi | 5m | 288 |
- Set printer status to
Off
when printer is offline, instead of reset data - Add status sensor for main device
- Add sensor statistics attribute
- measurement - level, remaining level
- total_increasing - pages, refills
- Add device hostname to unique ID
- Add support for
tonercartridge
cartridge type - Add translations for Russian, Ukrainian - Using Google Translate
- Add translations for Greek PR#142 by @ChriZathens
- Improved Dutch translations PR#118 by @hmmbob
- Improved German translations PR#130 by @SukramJ
- Fix Product Status URL for all translations (For error 404)
- Fix "detected blocking call to open inside the event loop by custom integration" error
- Add support for mapping of multicolor consumable (CyanMagentaYellow)
- Change the matching of consumable to its details by marker color instead of station
- Add fallback mechanism for consumables, if station is not available, will use color mapping
- Fix hassfest failure caused by invalid enums values for translation
- Fix async dispatcher send
- Change all sensors with date device class to timestamp #127
- Add fallback mechanism for consumables, if station is not available, will use color mapping
- Safe code blocks (try / catch / log) for generating entities
- Fix logic of constructing device name if cartridge type is not available
- When constructing device name, avoid null parts of it #113
- Changed the logic of errors from not found endpoints #120
- On initial load / setting up integration - one of the endpoints must return valid response, otherwise the integration will fail to load.
- After the integration loaded, it will update data periodically,
- If one of the endpoints will return 404 (not found) - the data related to it will get reset, DEBUG message will be logged (instead of ERROR)
- If printer goes offline, all data will be set as Unknown.
- Support no prefetch mode
- Fix all translations
- Fix entity translations
- Fix main device manufacture date
- Fix wrong library usage for slugify, causing wrong translation key to get picked up
- Refactor to full HP Printer EWS support
- Fix missing references Issue #103
- Fix breaking change to ConfigEntry
Minimum HA Version: 2024.1.0b0
- Set minimum HA version for component to 2024.1.0b0
- Fix manifest
Minimum HA Version: 2024.1.0
- Adjust code to HA 2024.1.0
- Update pre-commit packages
- Device and Entity registry -
async_get_registry
is deprecated, change toasync_get
- Added Brazilian Portuguese support, thanks to @LeandroIssa
- Removed entity / device delete upon restarting HA
- Added support for long term statistics
- Upgraded code to support breaking changes of HA v2012.12.0
Implemented enhancements:
- Added support for VSCode pre-commit
Implemented enhancements:
- Add configuration URL to add VISIT DEVICE link in device page
Fixed bugs:
- Don't block startup of Home Assistant
Fixed bugs:
- Ignore cartridge with not enough data (avoid cartridges with N/A)
Fixed bugs:
- Logger component is now part of after_dependencies
Fixed bugs:
- Upgrade xmltodict to 0.12.0 #60
Fixed bugs:
- Fix Log is filling with errors #57
Implemented enhancements:
- More descriptive error message when unable to access printer's API at setup or changing options
Implemented enhancements:
- More enhancements to options, ability to change setup details (Edit name and hostname)
- Support new translation format of HA 0.109.0
Fixed bugs:
- Fix disabled entity check throws an exception in logs
Fixed bugs:
- Fix disabled entities still being triggered for updates #52
- Fix image drum OPC name #51
- Fix Sensor 'status' stays on after power off #45
Fixed bugs:
- Fix disabled entities are getting enabled after periodic update (update interval)
- Fix offline printer is not updating entities correctly and after restart #45 #47
Fixed bugs:
Implemented enhancements:
- Renamed printer status binary sensor to printer connectivity
Fixed bugs:
- Fix #42 printer sensor
Fixed bugs:
- Fix #41 error while loading entities
Fixed bugs:
- Fix saving debug files to save only when
Integration -> Options -> Store...
is checked
Fixed bugs:
- Fix #40 returned previous logic of extracting printer status
Implemented enhancements:
- Added changelog
- Added ability to configure update entities interval in seconds (Integrations -> Integration Name -> Options) #31
- Added validation to add new integration, display error in case printer is unreachable or unsupported #15 #11
- Moved code to new file structure
- More logs added for easier debugging
- Removed service
hpprinter.save_debug_data
- Added option to store debug files from Integration UI -> Option (more details in README)
Fixed bugs: