[go: up one dir, main page]

Skip to content

alfonsolsl/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 at http://:8123/hacs/integrations.
  2. Search for Sodexo under Integrations in the HACS Store tab.
  3. Click Download this Repository with HACS
  4. Your done! 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.

About

Sodexo - Custom Component for Home Assistant (Panama)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%