I realized a problem in my flows.
I have HA sending my texts to my phone or my wifes. Which worked great…until we got new phones and I gave the phones new names.
Aside from just naming the new phone the same as the old phone (which I will probably have to do), is there anyway to pass a variable into the call service node, so that its always sending it to the correct phone?
So as shown below, its currenly set to send to text to ‘mobile_app_pixell_5_jim’, but my new phone is pixel 7.
I was thinking if I could put some node before it, that just points back to a variables page where I enter in my current phone, so then anytime I get a new phone, I just have to update node red in one place and all my nodes would in essence be updated.
Possible? Or just rename my new phones to use same name?
[{"id":"40b141915518740c","type":"tab","label":"Flow 5","disabled":false,"info":"","env":[]},{"id":"4a27921a9de81fcb","type":"api-call-service","z":"40b141915518740c","name":"Alert Jims phone trash only","server":"ab3e2c53.e3491","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_pixell_5_jim","areaId":[],"deviceId":[],"entityId":[],"data":"{\"title\":\"\",\"message\":\"Guess what day it is! Trash day!!\",\"data\":{\"sticky\":\"true\",\"priority\":\"Normal\",\"ttl\":0,\"tag\":\"tagname\"}}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1035,"y":210,"wires":[[]]},{"id":"12cf7094d523ebd0","type":"inject","z":"40b141915518740c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":720,"y":210,"wires":[["4a27921a9de81fcb"]]},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHome","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]