@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