Skip to content

Sodexo Dla Ciebie - Home Assistant Custom Component for Sodexo cards in Poland

License

Notifications You must be signed in to change notification settings

anarion80/sodexo_dla_ciebie

Repository files navigation

Sodexo Dla Ciebie Card Integration

GitHub Release GitHub Activity License

hacs Project Maintenance BuyMeCoffee

Sodexo Dla Ciebie - Custom Component for Home Assistant

The data source for this integration is Sodexo Dla Ciebie - Polish instance od Sodexo, provider of employee benefit cards.

The author of this project categorically rejects any and all responsibility for the card balance and other data that were presented by the integration.

Installation

HACS (Recommended)

This is an official HACS integration and can be added via HACS.

Assuming you have already installed and configured HACS, follow these steps:

  1. Navigate to the HACS integrations page
  2. Choose Integrations under HACS
  3. Click the '+' button on the bottom of the page
  4. Serch for "Sodexo Dla Ciebie", choose it, and click install in HACS
  5. Ready! Now continue with the configuration.

Manual

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called sodexo_dla_ciebie.
  4. Download all the files from the custom_components/sodexo_dla_ciebie/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant

Configuration

Through the interface

  1. Navigate to Settings > Devices & Services and then click Add Integration
  2. Search for Sodexo Dla Ciebie
  3. Enter your credentials (e-mail and password)
  4. Select if you want to import all cards, or only active ones
  5. Repeat the procedure as many times as desired to include cards from other accounts

Details

The integration pulls the current cards balance and presents as entity state. In addition, a few additional card details are pulled as entity attributes. The default SCAN_INTERVAL is set for 60 minutes.

This is an example of a few cards added:

example

Legal notice

This is a personal project and isn't in any way affiliated with, sponsored or endorsed by Sodexo Poland.

All product names, trademarks and registered trademarks in (the images in) this repository, are property of their respective owners. All images in this repository are used by the project for identification purposes only.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines