original_docstring: Mock Supervisor add-on info.
docstring: Mock Supervisor add-on info.
docstring_tokens: Mock Supervisor add - on info .
code: def mock_addon_info(addon_info_side_effect):
      """Mock Supervisor add-on info."""
      with patch(
          "homeassistant.components.zwave_js.addon.async_get_addon_info",
          side_effect=addon_info_side_effect,
      ) as addon_info:
          addon_info.return_value = {
              "options": {},
              "state": None,
              "update_available": False,
              "version": None,
          }
          yield addon_info
code_tokens: def mock_addon_info ( addon_info_side_effect ) : with patch ( "homeassistant.components.zwave_js.addon.async_get_addon_info" , side_effect = addon_info_side_effect , ) as addon_info : addon_info . return_value = { "options" : { } , "state" : None , "update_available" : False , "version" : None , } yield addon_info
short_docstring: Mock Supervisor add-on info.
short_docstring_tokens: Mock Supervisor add - on info .
comment: """Mock Supervisor add-on info."""