krasnoukhov / homeassistant-nova-poshta

Home Assistant Nova Poshta integration
MIT License
15 stars 0 forks source link
home-assistant homeassistant nova-poshta novaposhta

Home Assistant Nova Poshta integration

The Nova Poshta integration allows you to track delivered parcels, exposed as sensor per warehouse.

Highlights

Track delivered parcels

sensors


sensors

Use the UI to set up integration

setup

Example automation

Here's what I use to get a notification when there's a parcel in poshtomat and I'm approaching home:

alias: Poshtomat
trigger:
  - platform: zone
    entity_id: person.krasnoukhov
    zone: zone.home
    event: enter
condition:
  - condition: numeric_state
    entity_id: sensor.dmytro_delivered_parcels_in_kyiv_XXXX
    above: 0
action:
  - alias: Send critical mobile app notification
    service: notify.mobile_app_dmytro_iphone
    data:
      data:
        push:
          sound:
            critical: 1
            name: default
      title: >
        Посилки в поштоматі: {{ states("sensor.dmytro_delivered_parcels_in_kyiv_XXXX") }}шт
      message: >
        {{ state_attr("sensor.dmytro_delivered_parcels_in_kyiv_XXXX", "parcels") | join("\n") }}
mode: single

Installation

Via HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual Installation (not recommended)