docs: def update(self, json_state):
          """Update the json data from a dictionary.
  
          Only updates if it already exists in the device.
          """
          self._json_state.update(
              {k: json_state[k] for k in json_state if self._json_state.get(k)})
          self._update_name()