Skip to content

v0.2.0 — PSN, Score, Cost Per Hour, Session Tracking & More

Choose a tag to compare

@nuggetz nuggetz released this 06 May 08:56

What's New in v0.2.0

New Features

PlayStation Network support
Track PSN accounts via the native HA PlayStation Network integration — same entities as Steam and Xbox: online status, current game, and session duration.

Score sensor (sensor.gaming_hub_<slug>_score)
Metacritic score for each tracked game via IsThereAnyDeal. OpenCritic score available as attribute when present. Requires ITAD API key.

Cost Per Hour sensor (sensor.gaming_hub_<slug>_cost_per_hour)
Current best price divided by main story hours from HowLongToBeat. Shows unknown if HLTB has no data.

Session tracking

  • sensor.gaming_hub_<account>_session_duration — minutes in the current play session, updates every 5 minutes. Works on Steam, Xbox and PSN.
  • Events ha_gaming_hub_session_started and ha_gaming_hub_session_ended (includes duration_minutes)

Watchlist services
ha_gaming_hub.add_to_watchlist and ha_gaming_hub.remove_from_watchlist — manage your Price Tracker watchlist from automations or scripts without opening the UI.

Deals Calendar (calendar.gaming_hub_deals)
Flash Sales from IsThereAnyDeal appear as calendar events with expiry dates. Requires ITAD API key.

Free game expiry alert (binary_sensor.gaming_hub_free_game_expiring_soon)
Turns on when a free game expires within 24 hours.


Bug Fixes

  • CheapShark /games endpoint uses field price, not salePrice — root cause of all best price = $0.00 issues
  • howlongtobeatpy search no longer blocks the HA event loop (moved to executor)
  • Game Pass / subscription $0 listings excluded from best price calculation
  • sensor.gaming_hub_<slug>_best_price state class corrected to total (was measurement, invalid for monetary device class)

Breaking Changes

  • sensor.gaming_hub_gaming_hub_deals renamed to sensor.gaming_hub_deals

Requires Home Assistant 2024.1+
PSN support requires the native PlayStation Network integration.
Score sensor and Deals Calendar require a free ITAD API key.