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.
This is an official HACS integration and can be added via HACS.
Assuming you have already installed and configured HACS, follow these steps:
- Navigate to the HACS integrations page at http://:8123/hacs/integrations.
- Search for
Sodexo
underIntegrations
in the HACS Store tab. - Click
Download this Repository with HACS
- Your done! Now continue with the configuration.
- Navigate to
Settings > Devices & Services
and then clickAdd Integration
- Search for
Sodexo
- Enter your credentials
- Repeat the procedure as many times as desired to include other cards you may have
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
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.