Mysql et Home assistant

Sinon tu peux aussi tester avec ça, la date est automatique.
Dans ton fichier configuration.yaml, met ça (em remplaçant avec tes valeurs):

sensor:
  - platform: command_line  
    command: "curl -X POST -H 'Content-Type: application/json' -H 'User-Agent: Mozilla/5.0' -d '{\"email\": \"USER\",\"pwd\": \"APIKEY\",\"type\": \"arrivals\",\"date\": \" {{ as_timestamp(now()) | timestamp_custom('%Y-%m-%d') }} \"}' https://MONSITE/index.php?option=CMS&task=app_exec&req=arrivals_departures"
    name: chambreCL
    json_attributes:
      - checkin
      - checkout
      - rooms
    value_template: 'OK'
    scan_interval: 300