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.
{% if not installed %}
- Click install.
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Medisafe".
{% endif %}
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
This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.
Code template was mainly taken from @Ludeeus's integration_blueprint template