Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 2.63 KB

info.md

File metadata and controls

78 lines (61 loc) · 2.63 KB

GitHub Release GitHub Activity License

hacs Project Maintenance

View your medication from Medisafe Cloud in Home Assistant. This integration adds sensors for today's upcoming, taken, skipped, and missed doses, plus sensors for each medication's remaining pills.

example

{% if not installed %}

Installation

  1. Click install.
  2. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Medisafe".

{% endif %}

Configuration is done in the UI

Data is updated every 15 minutes, which can be adjusted by changing SCAN_INTERVAL in __init__.py.

The sample card above was built using auto-entities:

type: horizontal-stack
cards:
  - type: entity
    entity: sensor.medication_taken
    name: Taken
  - type: entity
    entity: sensor.medication_missed
    name: Missed
  - type: entity
    entity: sensor.medication_dismissed
    name: Skipped
type: custom:auto-entities
filter:
  include:
    - attributes:
        integration: medisafe
  exclude:
    - entity_id: sensor.medication_*
sort:
  method: state
  numeric: true
card:
  type: glance
  title: Remaining Medication
  columns: 4

Credits

This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.

Code template was mainly taken from @Ludeeus's integration_blueprint template