diff --git a/src/Libs/Entity/StateEntity.php b/src/Libs/Entity/StateEntity.php index 1a9ba8bd..78b32fc0 100644 --- a/src/Libs/Entity/StateEntity.php +++ b/src/Libs/Entity/StateEntity.php @@ -228,6 +228,10 @@ final class StateEntity implements StateInterface $this->updateValue('parent', $entity); } + if ($this->suids !== $entity->suids) { + $this->updateValue('suids', $entity); + } + return $this; }