Skip to content

netsoft-ruidias/ha-custom-component-sodexo

Repository files navigation

GitHub hacs_badge

GitHub commit activity GitHub Release Date GitHub release (latest by date)

Sodexo Card Integration

Sodexo - Custom Component for Home Assistant

The data source for this integration is the Sodexo.

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", choose it, and click install in HACS
  5. Ready! Now continue with the configuration.

Configuration

Through the interface

  1. Navigate to Settings > Devices & Services and then click Add Integration
  2. Search for Sodexo
  3. Enter your credentials
  4. Repeat the procedure as many times as desired to include other cards you may have

Sample Card

This is a sample card that displays the balance, last sensor update and last available balance date.

As a bonus, this sample also includes a tap_action to update the card's balance each time the card is pressed or clicked.

type: entities
entities:
  - entity: sensor.sodexo_card
    secondary_info: last-updated
    tap_action:
      action: call-service
      service: homeassistant.update_entity
      target:
        entity_id: sensor.sodexo_card
  - entity: sensor.sodexo_card
    name: Updated
    type: attribute
    attribute: updated

Legal notice

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

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.


Please, support my other integrations: Preços dos Combustivels | MyEdenred | Coverflex