parameters: (hass, key, data)
docstring: Generate dynamic data to store and save it to the filesystem.
  
      The data is only written if the content on the disk has changed
      by reading the existing content and comparing it.
  
      If the data has changed this will generate two executor jobs
  
      If the data has not changed this will generate one executor job
docstring_summary: Generate dynamic data to store and save it to the filesystem.
docstring_tokens: Generate dynamic data to store and save it to the filesystem .
function: async def async_save_to_store(hass, key, data):
      """Generate dynamic data to store and save it to the filesystem.
  
      The data is only written if the content on the disk has changed
      by reading the existing content and comparing it.
  
      If the data has changed this will generate two executor jobs
  
      If the data has not changed this will generate one executor job
      """
      current = await async_load_from_store(hass, key)
      if current is None or current != data:
          await get_store_for_key(hass, key).async_save(data)
          return
      _LOGGER.debug(
          "Did not store data for '%s'. Content did not change",
          get_store_key(key),
      )
function_tokens: async def async_save_to_store ( hass , key , data ) : current = await async_load_from_store ( hass , key ) if current is None or current != data : await get_store_for_key ( hass , key ) . async_save ( data ) return _LOGGER . debug ( "Did not store data for '%s'. Content did not change" , get_store_key ( key ) , )