Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xplora_watch.send_message does not seem to support templates #352

Closed
2 tasks done
DIYtechie opened this issue Jan 13, 2024 · 2 comments
Closed
2 tasks done

xplora_watch.send_message does not seem to support templates #352

DIYtechie opened this issue Jan 13, 2024 · 2 comments
Labels
Configuration incorrect Configuration implemented incorrectly Version 2

Comments

@DIYtechie
Copy link

What version of Integration has the issue?

2.12.1

System Health details

System Information

version core-2024.1.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.63-haos-raspi
arch aarch64
timezone Europe/Copenhagen
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4806
Installed Version 1.33.0
Stage running
Available Repositories 1371
Downloaded Repositories 27
Home Assistant Cloud
logged_in true
subscription_expiration October 23, 2024 at 2:00 AM
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server eu-central-1-10.ui.nabu.casa
certificate_status ready
instance_id 48b30477ee8044d3a9ae02b2611a030e
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.4
update_channel stable
supervisor_version supervisor-2023.12.0
agent_version 1.6.0
docker_version 24.0.7
disk_total 916.2 GB
disk_used 12.0 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons ESPHome (2023.12.5), File editor (5.7.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Node-RED (17.0.2), Terminal & SSH (9.8.1), deCONZ (6.22.0)
Dashboards
dashboards 2
resources 16
views 31
mode storage
Recorder
oldest_recorder_run January 4, 2024 at 6:54 AM
current_recorder_run January 13, 2024 at 9:38 AM
estimated_db_size 695.33 MiB
database_engine sqlite
database_version 3.41.2
Sonoff
version 3.5.4 (a4a8c5f)
cloud_online 0 / 8
local_online 2 / 2
debug failed to load:
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue

Since I cannot be logged into the app and the integration at the same time, I'm using Home Assistant to send and receive messages from my son. I use an input_text helper (called input_text.xplora_message) or the data message field, but when I try to send the input helper text via the xplora_watch.send_message service using {{ states('input_text.xplora_message') }} my son only receives the name of the input text helper and not the contents of the helper.

Reproduction steps

create a input text helper. Could be called: input_text.xplora_message

Change the text to something. E.g. "hello"

Then using developer tools try this

service: xplora_watch.send_message
data:
  target: 79637893468937465
  message: '{{ states('input_text.xplora_message') }}'
  user: 7364587365879

Debug logs

no errors, the issue is that the template is not recognized but simply sent as text
Copy link
Contributor

👋 @DIYtechie, it is checked whether there is a bug. Please have some patience.
This action was performed automatically.

@github-actions github-actions bot added the check for Bug it is checked whether there is an Bug label Jan 13, 2024
@DIYtechie
Copy link
Author

DIYtechie commented Jan 13, 2024

Apparently, I made a mistake

i.e. This script works:

alias: send xplora message
sequence:
  - service: xplora_watch.send_message
    metadata: {}
    data:
      target: 7836847637486
      user: 874563784563857678
      message: "{{ states('input_text.xplora_message') }}"
mode: single

Feel free to close this issue.

@Ludy87 Ludy87 closed this as completed Jan 14, 2024
Repository owner locked as resolved and limited conversation to collaborators Jan 14, 2024
@Ludy87 Ludy87 added Configuration incorrect Configuration implemented incorrectly and removed wait in examination check for Bug it is checked whether there is an Bug Bug labels Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Configuration incorrect Configuration implemented incorrectly Version 2
Projects
None yet
Development

No branches or pull requests

2 participants