Need Help With NodeRed and Extracting Mqtt Msg Payload Objects

hi i tried to google for help first but its not working… i trying to work on extracting 4 fields from a MQTT topic… but its not seperating into its fields i tried 2 different ways

could use some help on what i doing wrong here is what i working with

[{"id":"52d353a30762e94b","type":"mqtt in","z":"feb1b184abb55693","name":"MQTT \"callattendant/#\"","topic":"callattendant/#","qos":"2","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":260,"y":700,"wires":[["aefb6aa2d71ddf95","2a12231e3d91df25","92fa5b355d8012ba"]]},{"id":"aefb6aa2d71ddf95","type":"debug","z":"feb1b184abb55693","name":"debug 27","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":340,"y":580,"wires":[]},{"id":"1e4b23ea7934b24e","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Caller","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":640,"y":640,"wires":[[]]},{"id":"92fa5b355d8012ba","type":"switch","z":"feb1b184abb55693","name":"","property":"payload.object","propertyType":"msg","rules":[{"t":"eq","v":"Name","vt":"str"},{"t":"eq","v":"Number","vt":"str"},{"t":"eq","v":"Action","vt":"str"},{"t":"eq","v":"Reason","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":450,"y":700,"wires":[["1e4b23ea7934b24e"],["486af7a822ad59f6"],["6a26f18f84c41f8c"],["cfa97aba9c49465e"]]},{"id":"486af7a822ad59f6","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"ca004c017702ee1d","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":650,"y":680,"wires":[[]]},{"id":"2a12231e3d91df25","type":"change","z":"feb1b184abb55693","name":"","rules":[{"t":"set","p":"payload.Object.Name","pt":"msg","to":"payload","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":640,"wires":[["1e4b23ea7934b24e"]]},{"id":"6a26f18f84c41f8c","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"ca004c017702ee1d","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":640,"y":720,"wires":[[]]},{"id":"cfa97aba9c49465e","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":650,"y":760,"wires":[[]]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"bcd0ea099be1a641","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Caller","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Caller"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ca004c017702ee1d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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}]

callerid

Try this…

[{"id":"52d353a30762e94b","type":"mqtt in","z":"d91be42c1647e8ca","name":"MQTT \"callattendant/#\"","topic":"callattendant/#","qos":"2","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":200,"y":560,"wires":[["aefb6aa2d71ddf95","1e4b23ea7934b24e","486af7a822ad59f6","6a26f18f84c41f8c","cfa97aba9c49465e"]]},{"id":"aefb6aa2d71ddf95","type":"debug","z":"d91be42c1647e8ca","name":"debug 27","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":420,"y":440,"wires":[]},{"id":"1e4b23ea7934b24e","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Caller","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":720,"y":500,"wires":[[]]},{"id":"486af7a822ad59f6","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Number","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":730,"y":540,"wires":[[]]},{"id":"6a26f18f84c41f8c","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Action","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":720,"y":580,"wires":[[]]},{"id":"cfa97aba9c49465e","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":730,"y":620,"wires":[[]]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"bcd0ea099be1a641","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Caller","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Caller"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ca004c017702ee1d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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}]

If that doesn’t work, try using all lower case in the sensor state nodes.

it didnt like either way… spits out no connection and i even tried like the msg.payload.object.object.name
and msg.payload.object_name

just tried to see what would work there isnt documentation for me to figure out either

no connection sounds like the MQTT node isnt configured correctly


here is a screen shot it gets the mqtt its jut not getting it to the boxes

Sure your Node Red is upto date?
Looks like those nodes give me this error:

Do you not get that message?

as a call came in the errors changed
the first one is says type thats cuz i was trying something different the others were i had them lower case

image_2024-05-23_131758721

ok, try it with Name (capital N)

ok i watched it… so it works and doesnt work…
its capturing alot of the other stuff its not just capturing only name… so i getting home assistant error from the above picture…

not sure if this will work i copy and pasting the right side logs

"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:34 PMnode: debug 27
callattendant/Messages : msg.payload : Object
{ TimeStamp: 1716480447, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:19:34 PMnode: debug 27
callattendant/Messages : msg.payload : Object
{ TimeStamp: 1716480447, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:19:35 PMnode: Caller Id Caller
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: debug 27
callattendant/MessageCount : msg.payload : Object
{ TimeStamp: 1716480447, State: 0, Period: 0, Count: 0 }
5/23/2024, 1:19:35 PMnode: debug 27
callattendant/MessageCount : msg.payload : Object
{ TimeStamp: 1716480447, State: 0, Period: 0, Count: 0 }
5/23/2024, 1:19:35 PMnode: Caller Id Caller
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: debug 27
callattendant/CallerID : msg.payload : Object
{ TimeStamp: 1716484217, Name: "Mitchs Cell", Number: "705-931-0547", Action: "Permitted", Reason: "i dunno" }
5/23/2024, 1:19:35 PMnode: debug 27
callattendant/CallerID : msg.payload : Object
{ TimeStamp: 1716484217, Name: "Mitchs Cell", Number: "705-931-0547", Action: "Permitted", Reason: "i dunno" }
5/23/2024, 1:19:35 PMnode: Caller Id Caller
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:35 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484798, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484798, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:19:58 PMnode: Caller Id Caller
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/Approved : msg.payload : Object
{ TimeStamp: 1716484799, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/Approved : msg.payload : Object
{ TimeStamp: 1716484799, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:19:58 PMnode: Caller Id Caller
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/CallerID : msg.payload : Object
{ TimeStamp: 1716484799, Name: "Mikes Cell", Number: "705-931-0546", Action: "Permitted", Reason: "" }
5/23/2024, 1:19:58 PMnode: debug 27
callattendant/CallerID : msg.payload : Object
{ TimeStamp: 1716484799, Name: "Mikes Cell", Number: "705-931-0546", Action: "Permitted", Reason: "" }
5/23/2024, 1:19:58 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:19:58 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:04 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484804, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:20:04 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484804, State: "BLINK", Period: 700, Count: 10 }
5/23/2024, 1:20:04 PMnode: Caller Id Caller
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:04 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:04 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:04 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484805, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:20:05 PMnode: debug 27
callattendant/RING : msg.payload : Object
{ TimeStamp: 1716484805, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:20:05 PMnode: Caller Id Caller
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: debug 27
callattendant/Approved : msg.payload : Object
{ TimeStamp: 1716484806, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:20:05 PMnode: debug 27
callattendant/Approved : msg.payload : Object
{ TimeStamp: 1716484806, State: "OFF", Period: 0, Count: 0 }
5/23/2024, 1:20:05 PMnode: Caller Id Caller
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 1:20:05 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"

then all 4 sensors go home-assisant-error.error

ill have to work on it later gotta take my mother to the doctors… but i did see it for a second it worked but it didnt stay it accepted more then Name or it accepted name but then went to the home-assistant.error error

Make sure you dont have any of your previous attempts active.
It looks like they could be interfering with the latest one.

@mikep99 so i made sure any other mqtt was unhooked…
i found if the topic is “callattendant” there is no error but if an incomming call comes in i get no message

but when i do the
topic “callattendant/#” when i deploy i get right away the no connection error… and then it works… but then it shoots error after

maybe you can look… and why does it have no connection if there is no /# and here is the log from the side

and for some reason my send stop doesnt stop the audio loop now used to stop

[{"id":"a27722c056c4736c","type":"mqtt in","z":"feb1b184abb55693","name":"MQTT \"callattendant/#\"","topic":"callattendant/#","qos":"0","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":420,"wires":[["f2bf2fedee7e0f9f","45803acef4223757","65dac3a023497237","25ee04ea97fcc5d6"]]},{"id":"91e8adc28ce5cee0","type":"trigger","z":"feb1b184abb55693","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":730,"y":360,"wires":[["0cb968d91b08f6c8"]]},{"id":"0cb968d91b08f6c8","type":"api-call-service","z":"feb1b184abb55693","name":"Text-To-Speech To Devices","server":"efdc12b5.8e0cb","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":980,"y":360,"wires":[[]]},{"id":"f2bf2fedee7e0f9f","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":420,"wires":[["fb19528649270cb7","beb87ae7811ca5c7"]]},{"id":"45803acef4223757","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"8ca83d3fa658d308","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":480,"wires":[[]]},{"id":"65dac3a023497237","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"e19b6bd24eb295a8","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":540,"wires":[[]]},{"id":"25ee04ea97fcc5d6","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":600,"wires":[[]]},{"id":"fb19528649270cb7","type":"delay","z":"feb1b184abb55693","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":520,"y":420,"wires":[["add890f02bda4037"]]},{"id":"add890f02bda4037","type":"change","z":"feb1b184abb55693","name":"Set To \"unknown\"","rules":[{"t":"set","p":"payload","pt":"msg","to":"unknown","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":420,"wires":[["bfa96b44b3b92a8a","2dc960ea91de1100","0fa1561a15b34d33","2a126747421a9d36"]]},{"id":"5470f54e81fe1cd6","type":"change","z":"feb1b184abb55693","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1110,"y":420,"wires":[["91e8adc28ce5cee0"]]},{"id":"beb87ae7811ca5c7","type":"function","z":"feb1b184abb55693","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":360,"wires":[["91e8adc28ce5cee0"]]},{"id":"bfa96b44b3b92a8a","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":920,"y":420,"wires":[["5470f54e81fe1cd6"]]},{"id":"2dc960ea91de1100","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"8ca83d3fa658d308","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":930,"y":480,"wires":[[]]},{"id":"0fa1561a15b34d33","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"e19b6bd24eb295a8","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":920,"y":540,"wires":[[]]},{"id":"2a126747421a9d36","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":930,"y":600,"wires":[[]]},{"id":"66a87b1991f61678","type":"comment","z":"feb1b184abb55693","name":"MQTTs From Callattendant Name/Number/Action/Reason Also Speaks Incoming Calling To Speakers and Displays","info":"","x":390,"y":320,"wires":[]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"efdc12b5.8e0cb","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"bcd0ea099be1a641","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"8ca83d3fa658d308","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"e19b6bd24eb295a8","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ca004c017702ee1d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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}]

3/2024, 7:29:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:29:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:02 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:02 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:02 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:02 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:03 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:03 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:03 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:03 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:08 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:08 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:08 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:08 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:09 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:09 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:09 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:09 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:10 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:10 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:10 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:10 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:23 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:23 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:23 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:23 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:30:58 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"

i fixed the one part… the part thats supposed to set the messages to unknown i had it set to msg.payload where i needed to set it to msg.payload.Name and so on so then the audio looping stopped

but i cant stop the first issue

so what i noticed is when a call comes in the callattendendnt sends the MQTT and it goes into the fields but then it toggles back to home assistant error and no connection error it toggled.

[{"id":"a27722c056c4736c","type":"mqtt in","z":"feb1b184abb55693","name":"MQTT \"callattendant/#\"","topic":"callattendant/#","qos":"0","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":420,"wires":[["f2bf2fedee7e0f9f","45803acef4223757","65dac3a023497237","25ee04ea97fcc5d6"]]},{"id":"91e8adc28ce5cee0","type":"trigger","z":"feb1b184abb55693","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":730,"y":360,"wires":[["0cb968d91b08f6c8"]]},{"id":"0cb968d91b08f6c8","type":"api-call-service","z":"feb1b184abb55693","name":"Text-To-Speech To Devices","server":"efdc12b5.8e0cb","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":980,"y":360,"wires":[[]]},{"id":"f2bf2fedee7e0f9f","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":420,"wires":[["fb19528649270cb7","beb87ae7811ca5c7"]]},{"id":"45803acef4223757","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"8ca83d3fa658d308","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":480,"wires":[[]]},{"id":"65dac3a023497237","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"e19b6bd24eb295a8","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":540,"wires":[[]]},{"id":"25ee04ea97fcc5d6","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":600,"wires":[[]]},{"id":"fb19528649270cb7","type":"delay","z":"feb1b184abb55693","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":520,"y":420,"wires":[["add890f02bda4037"]]},{"id":"add890f02bda4037","type":"change","z":"feb1b184abb55693","name":"Set To \"unknown\"","rules":[{"t":"set","p":"payload.Name","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Number","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Action","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Reason","pt":"msg","to":"unknown","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":420,"wires":[["bfa96b44b3b92a8a","2dc960ea91de1100","0fa1561a15b34d33","2a126747421a9d36"]]},{"id":"5470f54e81fe1cd6","type":"change","z":"feb1b184abb55693","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1110,"y":420,"wires":[["91e8adc28ce5cee0"]]},{"id":"beb87ae7811ca5c7","type":"function","z":"feb1b184abb55693","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":360,"wires":[["91e8adc28ce5cee0"]]},{"id":"bfa96b44b3b92a8a","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"bcd0ea099be1a641","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":920,"y":420,"wires":[["5470f54e81fe1cd6"]]},{"id":"2dc960ea91de1100","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"8ca83d3fa658d308","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":930,"y":480,"wires":[[]]},{"id":"0fa1561a15b34d33","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"e19b6bd24eb295a8","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":920,"y":540,"wires":[[]]},{"id":"2a126747421a9d36","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"ca004c017702ee1d","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":930,"y":600,"wires":[[]]},{"id":"66a87b1991f61678","type":"comment","z":"feb1b184abb55693","name":"MQTTs From Callattendant Name/Number/Action/Reason Also Speaks Incoming Calling To Speakers and Displays","info":"","x":390,"y":320,"wires":[]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"efdc12b5.8e0cb","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"bcd0ea099be1a641","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"8ca83d3fa658d308","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"e19b6bd24eb295a8","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ca004c017702ee1d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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}]

Node-RED Deploy
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:31 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:44:32 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:44 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Number
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Action
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:46:45 PMnode: Caller Id Reason
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 7:47:04 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:04 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:04 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:04 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:05 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:05 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:05 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:05 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:10 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:10 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:10 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:10 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:11 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:11 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:11 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:11 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:12 PMnode: Caller Id Name
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:12 PMnode: Caller Id Number
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:12 PMnode: Caller Id Action
msg : error
"InvalidPropertyValueError: Invalid state"
5/23/2024, 7:47:12 PMnode: Caller Id Reason
msg : error
"InvalidPropertyValueError: Invalid state"

so dunno how to fix that error invaild states and such

so if i turn off the caller id raspberry pi so it cant send any mqtt messages… when i clear messages in node red and deploy it still get mqtt messages its still getting messages even when there is no way it can get messages i tried doing the retain false in the settings of the mqtt for the node but that didnt help figured that would not save any mqtt messages… so not sure why its reloading the the same mqtt messages

so i cant figure out where nodered is caching the mqtt old messages but i delete the node and re add it… i deploy and it re loads it… i dont know where its gettting the values from…

so i did a mqtt and then out to debugs… and then here are the errors i got…

[{"id":"898f487320505b9b","type":"debug","z":"feb1b184abb55693","name":"debug Name","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.Name","targetType":"msg","statusVal":"","statusType":"auto","x":490,"y":760,"wires":[]},{"id":"a05ac8b42d19de98","type":"mqtt in","z":"feb1b184abb55693","name":"","topic":"callattendant/#","qos":"2","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":160,"y":800,"wires":[["898f487320505b9b","57349cc4778cb3fc","f317c2813fa2df9b","c7654a77e0936636"]]},{"id":"c7654a77e0936636","type":"debug","z":"feb1b184abb55693","name":"debug Number","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.Number","targetType":"msg","statusVal":"","statusType":"auto","x":500,"y":800,"wires":[]},{"id":"f317c2813fa2df9b","type":"debug","z":"feb1b184abb55693","name":"debug Reason","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.Reason","targetType":"msg","statusVal":"","statusType":"auto","x":500,"y":840,"wires":[]},{"id":"57349cc4778cb3fc","type":"debug","z":"feb1b184abb55693","name":"debug Action","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.Action","targetType":"msg","statusVal":"","statusType":"auto","x":490,"y":880,"wires":[]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/Approved : msg.payload.Name : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/Approved : msg.payload.Action : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/Approved : msg.payload.Reason : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/Approved : msg.payload.Number : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/Blocked : msg.payload.Name : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/Blocked : msg.payload.Action : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/Blocked : msg.payload.Reason : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/Blocked : msg.payload.Number : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/RING : msg.payload.Name : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/RING : msg.payload.Action : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/RING : msg.payload.Reason : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/RING : msg.payload.Number : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/Messages : msg.payload.Name : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/Messages : msg.payload.Action : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/Messages : msg.payload.Reason : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/Messages : msg.payload.Number : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/MessageCount : msg.payload.Name : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/MessageCount : msg.payload.Action : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/MessageCount : msg.payload.Reason : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/MessageCount : msg.payload.Number : undefined
undefined
5/23/2024, 11:10:14 PMnode: debug Name
callattendant/CallerID : msg.payload.Name : string[11]
"Mitchs Cell"
5/23/2024, 11:10:14 PMnode: debug Action
callattendant/CallerID : msg.payload.Action : string[9]
"Permitted"
5/23/2024, 11:10:14 PMnode: debug Reason
callattendant/CallerID : msg.payload.Reason : string[7]
"i dunno"
5/23/2024, 11:10:14 PMnode: debug Number
callattendant/CallerID : msg.payload.Number : string[12]
"705-931-0547"

ive had several phone calls… but it keeps only caching old number so i not sure how i can purge nodered to stop reloading these mqtt… i even did a HA purge of the logs and that didnt help

so to make things easier to look at i broke it down to 1 Sensor
Name

i did it to a Sensor and a Debug… the Debug does ok but the Sensor has the error… and it still caching… but its late here so ill have to try calling myself in the morning but no matter what when i deploy i get the no connection error as soon as it deploys shouldnt it be sitting there waiting for an mqtt… its like its getting it from a cache

[{"id":"898f487320505b9b","type":"debug","z":"feb1b184abb55693","name":"debug Name","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.Name","targetType":"msg","statusVal":"","statusType":"auto","x":450,"y":760,"wires":[]},{"id":"a05ac8b42d19de98","type":"mqtt in","z":"feb1b184abb55693","name":"","topic":"callattendant/CallerID","qos":"2","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":180,"y":720,"wires":[["1c972c96dd79eb75","898f487320505b9b"]]},{"id":"1c972c96dd79eb75","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"b59ecb20647a205d","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":460,"y":700,"wires":[[]]},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"b59ecb20647a205d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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}]
5/23/2024, 11:28:34 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 11:28:34 PMnode: debug Name
callattendant/CallerID : msg.payload.Name : string[11]
"Mitchs Cell"
5/23/2024, 11:28:34 PMnode: Caller Id Name
msg : error
"NoConnectionError: NoConnectionError"
5/23/2024, 11:28:34 PMnode: debug Name
callattendant/CallerID : msg.payload.Name : string[11]
"Mitchs Cell"

i managed to fix it… after headaches and hours… i ended up uninstalling MQTT from Add on store… i did the Purge … i also had headaches with node red and the sensors where if you have the caller_id_name it makes caller_id_name_2 _3 _4

and its not so easily removed ended up turning off the enabled…

but then i did a purge recorder… and i removed node red companion and rebooted

re installed mqtt and companion and that seemed to solve the retain and the no connection issue Least for now… i dunno if it will come back

but that sensor removeal etc its a pain in the butt too… but least its going into its fields… and no errors yet… but what a pain

@mikep99
hi mike i added a Last caller and what i added was a Move feature i get an error of invalid state and a Bool error… can you see what i need to change or fix there … it wasnt shooting an error but then it was…
and i appreciate your help so far

[{"id":"91e8adc28ce5cee0","type":"trigger","z":"feb1b184abb55693","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":730,"y":240,"wires":[["0cb968d91b08f6c8"]]},{"id":"0cb968d91b08f6c8","type":"api-call-service","z":"feb1b184abb55693","name":"Text-To-Speech To Devices","server":"915baa48.9b1898","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player","media_player.speaker_2_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":1020,"y":240,"wires":[[]]},{"id":"fb19528649270cb7","type":"delay","z":"feb1b184abb55693","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":520,"y":300,"wires":[["add890f02bda4037"]]},{"id":"add890f02bda4037","type":"change","z":"feb1b184abb55693","name":"Set To unknown","rules":[{"t":"set","p":"payload.Name","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Number","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Action","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Reason","pt":"msg","to":"unknown","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":300,"wires":[["a4ee9842cf4d1751","bfcf081ada6c7f94","4e9eeccd5ca5c5dd","2a126747421a9d36"]]},{"id":"5470f54e81fe1cd6","type":"change","z":"feb1b184abb55693","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1070,"y":300,"wires":[["91e8adc28ce5cee0"]]},{"id":"beb87ae7811ca5c7","type":"function","z":"feb1b184abb55693","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":240,"wires":[["91e8adc28ce5cee0"]]},{"id":"2a126747421a9d36","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"f74e87cbddb58a67","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":910,"y":480,"wires":[[]]},{"id":"a4ee9842cf4d1751","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"a43f0e8edf3f7982","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":900,"y":300,"wires":[["5470f54e81fe1cd6"]]},{"id":"bfcf081ada6c7f94","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"ab12df1395feb913","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":910,"y":360,"wires":[[]]},{"id":"4e9eeccd5ca5c5dd","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"c6df6e21e59e4bcc","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":900,"y":420,"wires":[[]]},{"id":"43cb31f68384333c","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Reason","entityConfig":"f74e87cbddb58a67","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":480,"wires":[["86e29b6be21cfa97","824c067fb8df8bd6"]]},{"id":"8f957945c47cfc09","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Name","entityConfig":"a43f0e8edf3f7982","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":300,"wires":[["fb19528649270cb7","86e29b6be21cfa97"]]},{"id":"dd3a665e6381793f","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Number","entityConfig":"ab12df1395feb913","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":360,"wires":[["86e29b6be21cfa97"]]},{"id":"b8c4d3da9c424dad","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Action","entityConfig":"c6df6e21e59e4bcc","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":420,"wires":[["86e29b6be21cfa97"]]},{"id":"6ecf919d92b02402","type":"mqtt in","z":"feb1b184abb55693","name":"","topic":"callattendant/CallerID","qos":"0","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":300,"wires":[["43cb31f68384333c","b8c4d3da9c424dad","dd3a665e6381793f","8f957945c47cfc09"]]},{"id":"824c067fb8df8bd6","type":"api-current-state","z":"feb1b184abb55693","name":"Current Time ","server":"915baa48.9b1898","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.date_and_time","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"Time","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":370,"y":560,"wires":[["86e29b6be21cfa97"]]},{"id":"86e29b6be21cfa97","type":"change","z":"feb1b184abb55693","name":"Move To Last Caller","rules":[{"t":"move","p":"payload.Name","pt":"msg","to":"payload.LName","tot":"msg"},{"t":"move","p":"payload.Number","pt":"msg","to":"payload.LNumber","tot":"msg"},{"t":"move","p":"payload.Action","pt":"msg","to":"payload.LAction","tot":"msg"},{"t":"move","p":"payload.Reason","pt":"msg","to":"payload.LReason","tot":"msg"},{"t":"move","p":"Time","pt":"msg","to":"LTime","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":400,"wires":[["5a1bcb98dd4d0f7a","b1a104bc8068aea7","4cbcc9d7616c6d4e","14049568f98d6d43","8a2d32203f377cd4"]]},{"id":"b1a104bc8068aea7","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Last Number","entityConfig":"e417ae787d681a0d","version":0,"state":"payload.LNumber","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":620,"wires":[[]]},{"id":"4cbcc9d7616c6d4e","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Last Action","entityConfig":"1a41c98c8e8c4d60","version":0,"state":"payload.LAction","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":680,"wires":[[]]},{"id":"14049568f98d6d43","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Last Reason","entityConfig":"1208aac35495e5a1","version":0,"state":"payload.LReason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":740,"wires":[[]]},{"id":"8a2d32203f377cd4","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Last Time","entityConfig":"cea46724fc11d90b","version":0,"state":"LTime","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":830,"y":800,"wires":[[]]},{"id":"5a1bcb98dd4d0f7a","type":"ha-sensor","z":"feb1b184abb55693","name":"Caller Id Last Name","entityConfig":"2f3473e5c513875b","version":0,"state":"payload.LName","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":560,"wires":[[]]},{"id":"b3ade2e8c37dda6e","type":"inject","z":"feb1b184abb55693","name":"","props":[{"p":"payload.Name","v":"123","vt":"str"},{"p":"payload.Number","v":"123-123-1234","vt":"str"},{"p":"payload.Action","v":"Screened","vt":"str"},{"p":"payload.Reason","v":"I dunno","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":150,"y":740,"wires":[["8f957945c47cfc09","dd3a665e6381793f","b8c4d3da9c424dad","43cb31f68384333c"]]},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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},{"id":"f74e87cbddb58a67","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"a43f0e8edf3f7982","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ab12df1395feb913","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"c6df6e21e59e4bcc","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"e417ae787d681a0d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"1a41c98c8e8c4d60","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"1208aac35495e5a1","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"cea46724fc11d90b","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Time","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Time"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"2f3473e5c513875b","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false}]

and the errors i getting are

5/24/2024, 4:06:15 PMnode: Caller Id Last Time
msg : error
"InvalidPropertyValueError: Invalid state"
5/24/2024, 4:06:15 PMnode: Caller Id Last Time
msg : error
"InvalidPropertyValueError: Invalid state"
5/24/2024, 4:06:15 PMnode: Caller Id Last Time
msg : error
"InvalidPropertyValueError: Invalid state"
5/24/2024, 4:06:15 PMnode: Caller Id Last Time
msg : error
"InvalidPropertyValueError: Invalid state"

and why does it run 4 times? i cant see why it does it

Give the following a try:

[{"id":"91e8adc28ce5cee0","type":"trigger","z":"d91be42c1647e8ca","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":730,"y":680,"wires":[["0cb968d91b08f6c8"]]},{"id":"0cb968d91b08f6c8","type":"api-call-service","z":"d91be42c1647e8ca","name":"Text-To-Speech To Devices","server":"915baa48.9b1898","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player","media_player.speaker_2_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":1020,"y":680,"wires":[[]]},{"id":"fb19528649270cb7","type":"delay","z":"d91be42c1647e8ca","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":520,"y":740,"wires":[["add890f02bda4037"]]},{"id":"add890f02bda4037","type":"change","z":"d91be42c1647e8ca","name":"Set To unknown","rules":[{"t":"set","p":"payload.Name","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Number","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Action","pt":"msg","to":"unknown","tot":"str"},{"t":"set","p":"payload.Reason","pt":"msg","to":"unknown","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":740,"wires":[["a4ee9842cf4d1751","bfcf081ada6c7f94","4e9eeccd5ca5c5dd","2a126747421a9d36"]]},{"id":"5470f54e81fe1cd6","type":"change","z":"d91be42c1647e8ca","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1070,"y":740,"wires":[["91e8adc28ce5cee0"]]},{"id":"beb87ae7811ca5c7","type":"function","z":"d91be42c1647e8ca","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":680,"wires":[["91e8adc28ce5cee0"]]},{"id":"2a126747421a9d36","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Reason","entityConfig":"f74e87cbddb58a67","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":910,"y":920,"wires":[[]]},{"id":"a4ee9842cf4d1751","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Name","entityConfig":"a43f0e8edf3f7982","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":900,"y":740,"wires":[["5470f54e81fe1cd6"]]},{"id":"bfcf081ada6c7f94","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Number","entityConfig":"ab12df1395feb913","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":910,"y":800,"wires":[[]]},{"id":"4e9eeccd5ca5c5dd","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Action","entityConfig":"c6df6e21e59e4bcc","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":900,"y":860,"wires":[[]]},{"id":"43cb31f68384333c","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Reason","entityConfig":"f74e87cbddb58a67","version":0,"state":"payload.Reason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":920,"wires":[["86e29b6be21cfa97","824c067fb8df8bd6"]]},{"id":"8f957945c47cfc09","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Name","entityConfig":"a43f0e8edf3f7982","version":0,"state":"payload.Name","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":740,"wires":[["86e29b6be21cfa97","beb87ae7811ca5c7","fb19528649270cb7"]]},{"id":"dd3a665e6381793f","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Number","entityConfig":"ab12df1395feb913","version":0,"state":"payload.Number","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":350,"y":800,"wires":[["86e29b6be21cfa97"]]},{"id":"b8c4d3da9c424dad","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Action","entityConfig":"c6df6e21e59e4bcc","version":0,"state":"payload.Action","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":340,"y":860,"wires":[["86e29b6be21cfa97"]]},{"id":"6ecf919d92b02402","type":"mqtt in","z":"d91be42c1647e8ca","name":"","topic":"callattendant/CallerID","qos":"0","datatype":"auto-detect","broker":"12cbc2886c19b10a","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":740,"wires":[["43cb31f68384333c","b8c4d3da9c424dad","dd3a665e6381793f","8f957945c47cfc09"]]},{"id":"824c067fb8df8bd6","type":"api-current-state","z":"d91be42c1647e8ca","name":"Current Time ","server":"915baa48.9b1898","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.date_and_time","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload.Time","propertyType":"msg","value":"","valueType":"entityState"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":370,"y":1000,"wires":[["86e29b6be21cfa97"]]},{"id":"86e29b6be21cfa97","type":"change","z":"d91be42c1647e8ca","name":"Move To Last Caller","rules":[{"t":"move","p":"payload.Name","pt":"msg","to":"payload.LName","tot":"msg"},{"t":"move","p":"payload.Number","pt":"msg","to":"payload.LNumber","tot":"msg"},{"t":"move","p":"payload.Action","pt":"msg","to":"payload.LAction","tot":"msg"},{"t":"move","p":"payload.Reason","pt":"msg","to":"payload.LReason","tot":"msg"},{"t":"move","p":"payload.Time","pt":"msg","to":"payload.LTime","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":590,"y":840,"wires":[["5a1bcb98dd4d0f7a","b1a104bc8068aea7","4cbcc9d7616c6d4e","14049568f98d6d43","8a2d32203f377cd4"]]},{"id":"b1a104bc8068aea7","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Last Number","entityConfig":"e417ae787d681a0d","version":0,"state":"payload.LNumber","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":1060,"wires":[[]]},{"id":"4cbcc9d7616c6d4e","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Last Action","entityConfig":"1a41c98c8e8c4d60","version":0,"state":"payload.LAction","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":1120,"wires":[[]]},{"id":"14049568f98d6d43","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Last Reason","entityConfig":"1208aac35495e5a1","version":0,"state":"payload.LReason","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":1180,"wires":[[]]},{"id":"8a2d32203f377cd4","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Last Time","entityConfig":"cea46724fc11d90b","version":0,"state":"payload.LTime","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":830,"y":1240,"wires":[[]]},{"id":"5a1bcb98dd4d0f7a","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Id Last Name","entityConfig":"2f3473e5c513875b","version":0,"state":"payload.LName","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":840,"y":1000,"wires":[[]]},{"id":"b3ade2e8c37dda6e","type":"inject","z":"d91be42c1647e8ca","name":"","props":[{"p":"payload.Name","v":"123","vt":"str"},{"p":"payload.Number","v":"123-123-1234","vt":"str"},{"p":"payload.Action","v":"Screened","vt":"str"},{"p":"payload.Reason","v":"I dunno","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":150,"y":1180,"wires":[["8f957945c47cfc09","dd3a665e6381793f","b8c4d3da9c424dad","43cb31f68384333c"]]},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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},{"id":"f74e87cbddb58a67","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"a43f0e8edf3f7982","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"ab12df1395feb913","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"c6df6e21e59e4bcc","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"12cbc2886c19b10a","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"e417ae787d681a0d","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Number","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Number"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"1a41c98c8e8c4d60","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Action","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Action"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"1208aac35495e5a1","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Reason","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Reason"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"cea46724fc11d90b","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Time","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Time"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"2f3473e5c513875b","type":"ha-entity-config","server":"915baa48.9b1898","deviceConfig":"","name":"Caller Id Last Name","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Id Last Name"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false}]

Not too sure what you’re trying to do though as Name etc willl always ne the same as LName etc…
There are easier ways to get the history of a sensor through the Get History node…

Or try this - a lot simpler:

[{"id":"97f71fdf83dbafea","type":"mqtt in","z":"d91be42c1647e8ca","name":"","topic":"callattendant/CallerID","qos":"0","datatype":"auto-detect","broker":"bbbc33cd408563a2","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":780,"wires":[["f24da97c45cc3426"]]},{"id":"496a6417e3ce67a2","type":"inject","z":"d91be42c1647e8ca","name":"","props":[{"p":"payload.Name","v":"123","vt":"str"},{"p":"payload.Number","v":"123-123-1234","vt":"str"},{"p":"payload.Action","v":"Screened","vt":"str"},{"p":"payload.Reason","v":"I dunno","vt":"str"},{"p":"payload.Time","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":90,"y":900,"wires":[["f24da97c45cc3426"]]},{"id":"8d68afc3cc65456f","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller","entityConfig":"147856b6a07427c9","version":0,"state":"payload.Name","stateType":"msg","attributes":[{"property":"Number","value":"payload.Number","valueType":"msg"},{"property":"Action","value":"payload.Action","valueType":"msg"},{"property":"Reason","value":"payload.Reason","valueType":"msg"},{"property":"Time","value":"payload.Time","valueType":"msg"}],"inputOverride":"allow","outputProperties":[],"x":430,"y":840,"wires":[["d3d29e6c0806f50d","99ba694c944975c9"]]},{"id":"c225b6b945193d1a","type":"trigger","z":"d91be42c1647e8ca","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":810,"y":840,"wires":[["6e0facbf83a4f786"]]},{"id":"6e0facbf83a4f786","type":"api-call-service","z":"d91be42c1647e8ca","name":"Text-To-Speech To Devices","server":"915baa48.9b1898","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player","media_player.speaker_2_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":1000,"y":900,"wires":[[]]},{"id":"259ffc3047eaa638","type":"change","z":"d91be42c1647e8ca","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":920,"wires":[["c225b6b945193d1a"]]},{"id":"d3d29e6c0806f50d","type":"function","z":"d91be42c1647e8ca","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":840,"wires":[["c225b6b945193d1a"]]},{"id":"99ba694c944975c9","type":"delay","z":"d91be42c1647e8ca","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":440,"y":920,"wires":[["259ffc3047eaa638"]]},{"id":"f24da97c45cc3426","type":"api-current-state","z":"d91be42c1647e8ca","name":"Current Time ","server":"915baa48.9b1898","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.date_and_time","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"Time","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":270,"y":840,"wires":[["8d68afc3cc65456f"]]},{"id":"bbbc33cd408563a2","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"147856b6a07427c9","type":"ha-entity-config","server":"bb583d09.1a4dd","deviceConfig":"","name":"Caller","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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},{"id":"bb583d09.1a4dd","type":"server","name":"Home Assistant","addon":true}]

Or this which creates a previous caller sensor:

[{"id":"97f71fdf83dbafea","type":"mqtt in","z":"d91be42c1647e8ca","name":"","topic":"callattendant/CallerID","qos":"0","datatype":"auto-detect","broker":"bbbc33cd408563a2","nl":false,"rap":true,"rh":0,"inputs":0,"x":100,"y":780,"wires":[["f24da97c45cc3426"]]},{"id":"496a6417e3ce67a2","type":"inject","z":"d91be42c1647e8ca","name":"","props":[{"p":"payload.Name","v":"1290","vt":"str"},{"p":"payload.Number","v":"123-123-12345678","vt":"str"},{"p":"payload.Action","v":"Screened2","vt":"str"},{"p":"payload.Reason","v":"I dunno2","vt":"str"},{"p":"payload.Time","v":"","vt":"date"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":90,"y":900,"wires":[["f24da97c45cc3426"]]},{"id":"8d68afc3cc65456f","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller","entityConfig":"147856b6a07427c9","version":0,"state":"payload.Name","stateType":"msg","attributes":[{"property":"Number","value":"payload.Number","valueType":"msg"},{"property":"Action","value":"payload.Action","valueType":"msg"},{"property":"Reason","value":"payload.Reason","valueType":"msg"},{"property":"Time","value":"payload.Time","valueType":"msg"}],"inputOverride":"allow","outputProperties":[],"x":430,"y":840,"wires":[["d3d29e6c0806f50d","99ba694c944975c9"]]},{"id":"c225b6b945193d1a","type":"trigger","z":"d91be42c1647e8ca","name":"Repeat Calling Message","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-3","extend":false,"overrideDelay":false,"units":"s","reset":"stop","bytopic":"all","topic":"topic","outputs":1,"x":810,"y":840,"wires":[["6e0facbf83a4f786"]]},{"id":"6e0facbf83a4f786","type":"api-call-service","z":"d91be42c1647e8ca","name":"Text-To-Speech To Devices","server":"915baa48.9b1898","version":5,"debugenabled":false,"domain":"tts","service":"speak","areaId":[],"deviceId":[],"entityId":["tts.piper","media_player.speaker_1_esphome_i2s_media_player","media_player.speaker_2_esphome_i2s_media_player"],"data":"{          \"message\": msg.payload,\"media_player_entity_id\":\"group.audio_notifcations\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","output_location":"","output_location_type":"none","x":1000,"y":900,"wires":[[]]},{"id":"259ffc3047eaa638","type":"change","z":"d91be42c1647e8ca","name":"Send Stop","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":920,"wires":[["c225b6b945193d1a"]]},{"id":"d3d29e6c0806f50d","type":"function","z":"d91be42c1647e8ca","name":"function 5","func":"msg.payload = msg.payload.Name + \" Is Calling\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":580,"y":840,"wires":[["c225b6b945193d1a"]]},{"id":"99ba694c944975c9","type":"delay","z":"d91be42c1647e8ca","name":"","pauseType":"delay","timeout":"20","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":440,"y":920,"wires":[["259ffc3047eaa638"]]},{"id":"f24da97c45cc3426","type":"api-current-state","z":"d91be42c1647e8ca","name":"Current Time ","server":"915baa48.9b1898","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"sensor.date_and_time","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"Time","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":270,"y":840,"wires":[["8d68afc3cc65456f"]]},{"id":"43feca0f89b6d2f0","type":"server-state-changed","z":"d91be42c1647e8ca","name":"Caller Updated?","server":"915baa48.9b1898","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"sensor.caller","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":false,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":500,"y":760,"wires":[["c2831ebcf82fdf08"]]},{"id":"c2831ebcf82fdf08","type":"ha-sensor","z":"d91be42c1647e8ca","name":"Caller Previous","entityConfig":"984f9a88b63af83c","version":0,"state":"data.old_state.state","stateType":"msg","attributes":[{"property":"Number","value":"data.old_state.attributes.number","valueType":"msg"},{"property":"Action","value":"data.old_state.attributes.action","valueType":"msg"},{"property":"Reason","value":"data.old_state.attributes.reason","valueType":"msg"},{"property":"Time","value":"data.old_state.attributes.time","valueType":"msg"}],"inputOverride":"allow","outputProperties":[],"x":740,"y":760,"wires":[[]]},{"id":"bbbc33cd408563a2","type":"mqtt-broker","name":"home assistant server","broker":"192.168.0.12","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"3","keepalive":"60","cleansession":true,"autoUnsubscribe":true,"birthTopic":"","birthQos":"2","birthRetain":"false","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"2","closeRetain":"false","closePayload":"","closeMsg":{},"willTopic":"","willQos":"2","willRetain":"false","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"147856b6a07427c9","type":"ha-entity-config","server":"bb583d09.1a4dd","deviceConfig":"","name":"Caller","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"915baa48.9b1898","type":"server","name":"Home Assistant","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},{"id":"984f9a88b63af83c","type":"ha-entity-config","server":"bb583d09.1a4dd","deviceConfig":"","name":"Caller Previous","version":"6","entityType":"sensor","haConfig":[{"property":"name","value":"Caller Previous"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"bb583d09.1a4dd","type":"server","name":"Home Assistant","addon":true}]